Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitch - download sub-only vods (without login) #3356

Open
5 of 6 tasks
4g03fhju opened this issue Apr 8, 2022 · 2 comments
Open
5 of 6 tasks

Twitch - download sub-only vods (without login) #3356

4g03fhju opened this issue Apr 8, 2022 · 2 comments
Labels
site-enhancement Feature request for some website triage Untriaged issue

Comments

@4g03fhju
Copy link

4g03fhju commented Apr 8, 2022

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
  • I've checked that all provided URLs are alive and playable in a browser
  • I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I've read the guidelines for opening an issue
  • I've read about sharing account credentials and I'm willing to share it if required

Region

No response

Example URLs

Capture

Description

TwitchRecover can do this, can this feature be implemented on yt-dlp?

TwitchRecover: https://github.com/twitchrecover/twitchrecover

Verbose log

D:\youtube-dl>yt-dlp.exe -vU https://www.twitch.tv/videos/1448256575
[debug] Command-line config: ['-vU', 'https://www.twitch.tv/videos/1448256575']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.04.08 [7884ade] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg n5.0-ffmpeg-windows-build-helpers (fdk,setts), ffprobe n5.0-ffmpeg-windows-build-helpers, phantomjs 2.1.1, rtmpdump 2.3
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] [twitch:vod] Extracting URL: https://www.twitch.tv/videos/1448256575
[twitch:vod] 1448256575: Downloading stream metadata GraphQL
[twitch:vod] 1448256575: Downloading video access token GraphQL
[twitch:vod] 1448256575: Downloading m3u8 information
ERROR: [twitch:vod] 1448256575: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 641, in extract
  File "yt_dlp\extractor\twitch.py", line 395, in _real_extract
  File "yt_dlp\extractor\common.py", line 2129, in _extract_m3u8_formats
  File "yt_dlp\extractor\common.py", line 2140, in _extract_m3u8_formats_and_subtitles
  File "yt_dlp\extractor\common.py", line 800, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 785, in _request_webpage

  File "yt_dlp\extractor\common.py", line 767, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3601, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden
@4g03fhju 4g03fhju added site-enhancement Feature request for some website triage Untriaged issue labels Apr 8, 2022
@reallyuniquename
Copy link

While this protection is not DRM (which is explicitly not getting any support by the devs) I can imagine Twitch will patch this bypass the moment it hits any major download tools. Just keep that in mind, @4g03fhju.

@Xiaoia8
Copy link

Xiaoia8 commented Mar 7, 2024

Use https://vodvod.top, once you find the vod you are interested in copy the link and download it with yt-dlp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-enhancement Feature request for some website triage Untriaged issue
Projects
Status: twitch
Development

No branches or pull requests

3 participants