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 stories

See original GitHub issue

Checklist

Region

UK

Description

ERROR: Unsupported URL: https://www.instagram.com/stories/[xxx]

Works fine for Instagram feed posts, just not stories. Cookies does not help.

Verbose log

yt-dlp https://www.instagram.com/stories/[xxx] --cookies instacookie.txt -Uv
[debug] Command-line config: ['-i', '--format', '((571/272/402/337/315/313/401/336/308/400/271/335/303/299/399/137/248/334/302/298/398/247/136/333/244/135/397/332/243/134/396/331/242/133/395/330/160/394/278)[protocol!=http_dash_segments])+(bestaudio[acodec=opus]/bestaudio[protocol!=http_dash_segments])/best', 'https://www.instagram.com/stories/[xxx]', '--cookies', 'instacookie.txt', '-Uv']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8] (zip)
[debug] Python version 3.9.0 (CPython 64bit) - Linux-4.19.107-Unraid-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v2_@_2.60GHz-with-glibc2.30
[debug] exe versions: ffmpeg N-54690-g682990a849-static
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [generic] Extracting URL: https://www.instagram.com/stories/[xxx]
[generic] [xxx]: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] [xxx]: Downloading webpage
[generic] [xxx]: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.instagram.com/stories/[xxx]
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/yt_dlp/YoutubeDL.py", line 1353, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/yt_dlp/YoutubeDL.py", line 1423, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/generic.py", line 3829, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.instagram.com/stories/[xxx]

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
MinePlayersPEcommented, Jan 15, 2022

Already fixed on master https://github.com/yt-dlp/yt-dlp/commit/dd5e60b15dd720727a0242eec2bd6698cb03b8f2

>yt-dlp -F "https://www.instagram.com/stories/XXX/XXX/" --cookies-from-browser edge
[Cookies] Extracting cookies from edge
[Cookies] Extracted 2777 cookies from edge
[instagram:story] XXX: Downloading JSON metadata
[instagram:story] XXX: Downloading JSON metadata
[download] Downloading playlist: XXX
[instagram:story] playlist XXX: Collected 2 videos; downloading 2 of them
[download] Downloading video 1 of 2
[info] Available formats for XXX:
...
1reaction
nyuszika7hcommented, Jan 15, 2022

Yeah, just checked, it works fine for me too on master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stories - Instagram Help Center
With Stories, you can share photos and videos that disappear from your profile, Feed and messages after 24 hours, unless you add them...
Read more >
Instagram Stories: The Complete Guide to Creating Standout ...
An Instagram Story is an in-app feature that allows users to post photos or videos that automatically disappear within 24 hours. They appear...
Read more >
StoriesDown: Instagram Story Viewer & Downloader
Best Instagram story viewer! You can watch Instagram stories anonymously and quickly without the need to log in or having account.
Read more >
The Complete Guide to Using Instagram Stories for Business
Instagram Stories are vertical, full-screen photos and videos that disappear after 24 hours. They appear at the top of the Instagram app, rather...
Read more >
Instagram Stories: What They Are and How to Make One Like ...
Instagram Stories is a feature that allows you to post ephemeral content available for up to 24 hours. Instagram Story Highlights are ...
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