question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instagram - Unable to extract video url

See original GitHub issue

Checklist

  • [ x] I’m reporting a broken site support issue
  • [ x] I’ve verified that I’m running youtube-dl version 2021.01.24.1
  • [ x] I’ve checked that all provided URLs are alive and playable in a browser
  • [ x] I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • [ x] I’ve searched the bugtracker for similar bug reports including closed ones
  • [ x] I’ve read bugs section in FAQ

Verbose log

root@transcode-dev:/var/www/html/test_vids# youtube-dl -U
youtube-dl is up-to-date (2021.01.24.1)
root@transcode-dev:/var/www/html/test_vids# youtube-dl --verbose "https://www.instagram.com/p/CKewfsjoAzj/?igshid=1kf2sdnzbqax7"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.instagram.com/p/CKewfsjoAzj/?igshid=1kf2sdnzbqax7']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.01.24.1
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-1035-aws-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[Instagram] CKewfsjoAzj: Downloading webpage
ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/instagram.py", line 216, in _real_extract
    video_url = self._og_search_video_url(webpage, secure=False)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1128, in _og_search_video_url
    return self._html_search_regex(regexes, html, name, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1019, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1010, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:5
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
dustballcommented, Feb 15, 2021

As the original reporter, yeah, if something literally instructs me to file a bug report, I am going to do that 100% of the time. (If I shouldn’t be filing a bug report, then that error text itself is a bug.)

1reaction
yoelcabocommented, Feb 12, 2021

This is happening to me when downloading through a proxy, but not when directly. Here is the dump of the intermediate page:

CKMWCTThlM4_https_-_www.instagram.com_accounts_login_next=p_CKMWCTThlM4.txt

<meta content="Welcome back to Instagram. Sign in to check out what your friends, family &amp; interests have been capturing &amp; sharing around the world." name="description" />

It would seem instagram is asking for a login

Read more comments on GitHub >

github_iconTop Results From Across the Web

yt-dlp problem on Instagram (SOLVED)
The error messages tell me that the program can't “extract the uploader id”, and can't “extract video url”. The program's output tells me...
Read more >
ERROR : YouTube said: Unable to extract video data ...
I'm making a little graphic interface with Python 3 which should download a youtube video with its URL. I used the youtube_dl module...
Read more >
What is the cause of the problem unable to extract video ...
Open the Magic Downloader, copy the link of the video you would like to save, then paste it into the top search bar...
Read more >
How do I get a link (URL) to a photo or video on Instagram?
You can get a link to photos and videos that are shared on Instagram. If the account that posted the content is set...
Read more >
yt-dlp instagram - You.com | The Search Engine You Control
[Instagram] Download video link Instagram error in version yt-dlp update 2021.12.27. ERROR: [Instagram] CY7Frfvhvto: Unable to extract video url; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found