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

  • I’m reporting a broken site support issue
  • I’ve verified that I’m running youtube-dl version 2021.04.26
  • 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 bug reports including closed ones
  • I’ve read bugs section in FAQ

Verbose log

youtube-dl "https://www.instagram.com/tv/COJ1EIAlHtP/?igshid=dedqjbzkngqq" --force-ipv4 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.instagram.com/tv/COJ1EIAlHtP/?igshid=dedqjbzkngqq', u'--force-ipv4', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.04.27
[debug] Python version 2.7.13 (CPython) - Linux-5.4.19-x86_64-with-debian-9.13
[debug] exe versions: ffmpeg 3.2.15-0, ffprobe 3.2.15-0
[debug] Proxy map: {}
[Instagram] COJ1EIAlHtP: 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 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/instagram.py", line 240, 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 1130, 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 1021, 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 1012, 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

But When I try the same command from an other IP address it works well.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9

github_iconTop GitHub Comments

1reaction
someziggymancommented, Apr 29, 2021

Quick update - looks like this “download restriction” (or whatever’s going on with this case) has around 24 hours lifespan. I’m able to perform 5-10-15 downloads and then, I’m “blocked”. Next day - it’s the same limit and error.

1reaction
TaktakTaktoukcommented, Apr 27, 2021

after checking with --write-pages I found out that it redirect me to the login page. So the only way is to force using cookies

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to extract video url #28021 - ytdl-org/youtube-dl - GitHub
utils.RegexNotFoundError : Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest ...
Read more >
yt-dlp problem on Instagram (SOLVED) - antiX-forum
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 >
What is the cause of the problem unable to extract video data ...
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 >
Youtube_dl : ERROR : YouTube said: Unable to extract video ...
I used the youtube_dl module for that. This is my code : import youtube_dl # Youtube_dl is used for download the video ydl_opt...
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 >

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