instaloader blocked by Instagram GraphQL 403. Using mobile API instead: - i.instagram.com/api/v1 endpoints (same as Android app) - Direct cookie loading from cookies.txt - Stories, posts, albums, videos - Random delays between requests - Removed instaloader dependency, using requests directly
17 lines
292 B
Docker
17 lines
292 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends curl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN mkdir -p /data/downloads
|
|
|
|
CMD ["python", "bot.py"]
|