rewrite: switch from instaloader to Instagram Private API

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
This commit is contained in:
2026-06-17 12:02:51 +07:00
parent bc1649d0ac
commit 1bd68c9a0e
5 changed files with 217 additions and 222 deletions

View File

@@ -1,10 +1,10 @@
# Telegram
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_telegram_user_id_here
TELEGRAM_BOT_TOKEN=7949149242:AAEwFjIEAocJfVpnolqZHD95qrhb1kvkndo
TELEGRAM_CHAT_ID=146466816
# Instagram
INSTAGRAM_USERNAME=your_instagram_username
INSTAGRAM_PASSWORD=your_instagram_password
INSTAGRAM_USERNAME=smolkik_adm
INSTAGRAM_PASSWORD=lL1@^7$rg8a8
# Settings
CHECK_INTERVAL_MINUTES=15