[instagram] Error when using cookies: "unable to extract username/video url"
See original GitHub issueChecklist
- I’m reporting a bug unrelated to a specific site
- I’ve verified that I’m running yt-dlp version 2022.03.08.1. (update instructions)
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
Description
error while trying to download private or public instagram videos using cookies option
Verbose log
arthur@blackpower Season 1 % yt-dlp "https://www.instagram.com/p/CaZ9f0JplRO/" --cookies ~/instagram.com_cookies.txt -vU
[debug] Command-line config: ['https://www.instagram.com/p/CaZ9f0JplRO/', '--cookies', '/Users/arthur/instagram.com_cookies.txt', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.03.08.2 [e491d06d3]
[debug] Python version 3.10.2 (CPython 64bit) - macOS-11.3-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0, rtmpdump 2.4
[debug] Optional libraries: brotli, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.03.08.1, Current version: 2022.03.08.2
yt-dlp is up to date (2022.03.08.2)
[debug] [Instagram] Extracting URL: https://www.instagram.com/p/CaZ9f0JplRO/
[Instagram] CaZ9f0JplRO: Downloading webpage
WARNING: [Instagram] unable to extract username; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
ERROR: [Instagram] CaZ9f0JplRO: Unable to extract video url; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 617, in extract
ie_result = self._real_extract(url)
File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.10/site-packages/yt_dlp/extractor/instagram.py", line 421, in _real_extract
video_url = self._og_search_video_url(webpage, secure=False)
File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 1307, in _og_search_video_url
return self._html_search_regex(regexes, html, name, **kargs)
File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 1201, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 1192, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (18 by maintainers)
Top Results From Across the Web
Instagram login error: "This page could not be loaded. If you ...
You need to go to the Instagram home page first and click "allow cookies". After that open the link in the password reset...
Read more >Cookies Policy | Instagram Help Center
If you do not have an Instagram account or are not logged into your account, you can manage cookies from other companies on...
Read more >How to access your Instagram Cookie and what exactly does ...
If you're using the Instagram Personalisation system within SmartWriter, you'll need access to cookie from your Instagram account for better results.
Read more >Troubleshoot Facebook and Instagram publishing errors
This error means there's an issue with your Instagram account that ... third parties such as Hootsuite are unable to publish certain types ......
Read more >10 ways to fix Instagram if it's not working properly
If you see an error that says you can't follow additional people, that's not an issue with the app, your phone or the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It will be fixed when someone fixes it! Bombarding with duplicate issues/pointless comments is not helping
Same issue though