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.

Twitch Subscriber-only VODs not downloading with cookies in new version of youtube-dl

See original GitHub issue

Checklist

  • I’m reporting a broken site support
  • I’ve verified that I’m running youtube-dl version 2021.01.08
  • 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', '--cookies', 'C:\\OK\\Twitch\\test.txt', '--list-formats', 'https://www.twitch.tv/videos/861358772']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.01.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2020-07-30-134a48a, ffprobe git-2020-07-30-134a48a
[debug] Proxy map: {}
[twitch:vod] 861358772: Downloading stream metadata GraphQL
[twitch:vod] 861358772: Downloading video access token GraphQL
[twitch:vod] 861358772: Downloading m3u8 information
ERROR: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by HTTPError()); 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.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\extractor\common.py", line 632, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpe72mu9fe\build\youtube_dl\YoutubeDL.py", line 2248, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

Description

I’m trying to download a subscriber-only vod from a twitch channel than I am subscribed to. I’m using the cookies on the webpage to allow youtube-dl to extract all the information. This method worked before updating to the latest version, but no longer works and gives a HTTP error.

“ytdl” is the renamed youtube-dl exe and is what i have used for some time now and it has worked.

this is my command below ytdl --cookies C:\OK\Twitch\cookies.txt --list-formats TWITCH URL

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
dstftwcommented, Jan 9, 2021

I mean to the developer.

0reactions
TennisMexicancommented, Jan 16, 2021

Same, once I got the latest version and an updated cookies.txt file, it worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloading subscriber only VOD on Twitch not working.
Downloading subscriber only VOD on Twitch not working. This worked previously: youtube-dl --cookies ~/path/to/cookies.txt -f best ...
Read more >
yt-dlp(1) - Arch manual pages
Download only videos not listed in the archive file. Record the IDs of all downloaded videos in it; --no-download-archive: Do not use archive...
Read more >
softchat - PyPI
missing cookies. symptoms: youtube-dl failing because the video is members-only; chat-downloader spamming a bunch of javascript then exiting.
Read more >
How to use youtube-dl --cookies - Ask Different
If you use Chrome and accept third-party plugins to read your cookies. Just try Get cookies.txt chrome extension, open the youtube then export ......
Read more >
Twitch.tv - Terms of Service
If you are between the ages of 13 and the age of legal majority in your jurisdiction of residence, you may only use...
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