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 not working (macos)

See original GitHub issue

Checklist

  • I’m reporting a broken site support
  • I’ve verified that I’m running youtube-dl version 2021.04.07
  • 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

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.instagram.com/p/CNnsINknHtb/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.04.07
[debug] Git HEAD: 586d25a52
[debug] Python version 3.9.4 (CPython) - macOS-11.2.3-arm64-arm-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[Instagram] CNnsINknHtb: 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; see  https://yt-dl.org/update
on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/extractor/instagram.py", line 240, in _real_extract
    video_url = self._og_search_video_url(webpage, secure=False)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 1130, in _og_search_video_url
    return self._html_search_regex(regexes, html, name, **kargs)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 1021, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Instagram not working for me, youtube for example works

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
someziggymancommented, Apr 14, 2021

@dstftw @remitamine If this helps for testing: Noticed that for some countries like Sweden, UK,Netherlands, Japan, Russia (tested via a VPN) all instagram links are redirected to main log in page or even throws “allow cookies” popup over the login page in addition. However, under German VPN - all links are shown as regular instagram pages with playable videos and ytdl works flawlessly… If more testing is needed I’m glad to help. Used ClearVPN for it (not sure if this matters)

0reactions
Lesmiscorecommented, Apr 16, 2021

@RingoTheDog Are these on the same network? Anything browser can’t do also applies to youtube-dl.

I tested accessing to IG without cookies and proxies in FF (Private Window mode), but I was also redirected to login page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is Instagram Not Working on Safari or Mac? [Quick Fix]
Step 1. Open Safari Preference. Launch Safari. Then click Safari on the top menu. · Step 2. Click on Privacy to Manage the...
Read more >
Instagram will not load in Safari - MacRumors Forums
try disabling content blockers (the gear icon on the top bar in safari). and did you clear the cookies? instagram works here in...
Read more >
instagram.com not working in safari. - Apple Community
Instagram.com is not working in safari. The top website bar makes it look like the webpage loaded, but the webpage is blank.
Read more >
How To Fix Instagram Wont Load, Keep Crashing On ... - iKream
1. Check and manage your Internet connection · 2. Restart the device · 3. Close and re-open the Instagram app · 4. Update...
Read more >
[Ultimate Guide 2022] How to Use Instagram on PC/Mac?
Instagram is not available for Mac computer users, because it didn't have a desktop app. You can only use web browser or third-party...
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