Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading from instagram issues #189

Closed
A5DkjGQUZx opened this issue Jan 13, 2023 · 2 comments
Closed

Downloading from instagram issues #189

A5DkjGQUZx opened this issue Jan 13, 2023 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@A5DkjGQUZx
Copy link

Hi
Running the bot with python3 ./ytdl_bot.py command and providing the instagram.com_cookies.txt in 2 locations (next to ytdl_bot.py and inside a ./data folder), I get the follwing error:

[0;31mERROR: [0m [Instagram] CnV5VS1I1bN: Requested content is not available, rate-limit reached or login required. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (instagram) to provide account credentials

with the following full log:

[2023-01-13 09:26:50 ytdl_bot.py:324 I] start https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:50 limit.py:146 W] Canonical exception https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:50 limit.py:146 W] Canonical exception https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:51 limit.py:146 W] Canonical exception https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:51 db.py:69 I] Setting metrics: video_request
[2023-01-13 09:26:57 limit.py:146 W] Canonical exception https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:57 limit.py:146 W] Canonical exception https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:57 limit.py:146 W] Canonical exception https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:57 downloader.py:223 I] Downloading for https://www.instagram.com/reel/CnV5VS1I1bN/ with format bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio
WARNING: [Instagram] CnV5VS1I1bN: No csrf token set by Instagram API
WARNING: [Instagram] CnV5VS1I1bN: General metadata extraction failed (some metadata might be missing).
WARNING: [Instagram] unable to extract shared data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
WARNING: [Instagram] Main webpage is locked behind the login page. Retrying with embed webpage (some metadata might be missing).
WARNING: [Instagram] unable to extract additional data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ERROR: [Instagram] CnV5VS1I1bN: Requested content is not available, rate-limit reached or login required. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (instagram) to provide account credentials
[2023-01-13 09:26:59 downloader.py:230 E] Download failed for https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:26:59 downloader.py:223 I] Downloading for https://www.instagram.com/reel/CnV5VS1I1bN/ with format bestvideo[vcodec^=avc]+bestaudio[acodec^=mp4a]/best[vcodec^=avc]/best
WARNING: [Instagram] CnV5VS1I1bN: No csrf token set by Instagram API
WARNING: [Instagram] CnV5VS1I1bN: General metadata extraction failed (some metadata might be missing).
WARNING: [Instagram] unable to extract shared data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
WARNING: [Instagram] Main webpage is locked behind the login page. Retrying with embed webpage (some metadata might be missing).
WARNING: [Instagram] unable to extract additional data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ERROR: [Instagram] CnV5VS1I1bN: Requested content is not available, rate-limit reached or login required. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (instagram) to provide account credentials
[2023-01-13 09:27:00 downloader.py:230 E] Download failed for https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:27:00 downloader.py:223 I] Downloading for https://www.instagram.com/reel/CnV5VS1I1bN/ with format None
WARNING: [Instagram] CnV5VS1I1bN: No csrf token set by Instagram API
WARNING: [Instagram] CnV5VS1I1bN: General metadata extraction failed (some metadata might be missing).
WARNING: [Instagram] unable to extract shared data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
WARNING: [Instagram] Main webpage is locked behind the login page. Retrying with embed webpage (some metadata might be missing).
WARNING: [Instagram] unable to extract additional data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ERROR: [Instagram] CnV5VS1I1bN: Requested content is not available, rate-limit reached or login required. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (instagram) to provide account credentials
[2023-01-13 09:27:01 downloader.py:230 E] Download failed for https://www.instagram.com/reel/CnV5VS1I1bN/
[2023-01-13 09:27:01 downloader.py:237 I] https://www.instagram.com/reel/CnV5VS1I1bN/ - {'status': False, 'error': '\x1b[0;31mERROR:\x1b[0m [Instagram] CnV5VS1I1bN: Requested content is not available, rate-limit reached or login required. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (instagram) to provide account credentials', 'filepath': []}
[2023-01-13 09:27:01 tasks.py:257 I] Download complete.

@BennyThink BennyThink added question Further information is requested bug Something isn't working labels Jan 20, 2023
@BennyThink
Copy link
Member

put your cookie file here, same dir with ytdl_bot.py, extension here https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid

/path/to/ytdlbot/ytdlbot/instagram.com_cookies.txt

BennyThink added a commit that referenced this issue Jan 20, 2023
BennyThink added a commit that referenced this issue Jan 20, 2023
@BennyThink
Copy link
Member

also please pull latest code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants