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

Invidious Onion "requested format not available" #27895

Open
5 tasks done
Snake883 opened this issue Jan 21, 2021 · 0 comments
Open
5 tasks done

Invidious Onion "requested format not available" #27895

Snake883 opened this issue Jan 21, 2021 · 0 comments

Comments

@Snake883
Copy link

Checklist

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

$ youtube-dl -sv -f "best[ext=mp4][height<=480]" http://invidious.3o7z6yfxhbw7n3za4rss6l434kmv55cgw2vuziwuigpwegswvwzqipyd.onion/watch?v=C0DPdy98e4c --proxy socks5://127.0.0.1:9150
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-sv', u'-f', u'best[ext=mp4][height<=480]', u'http://invidious.3o7z6yfxhbw7n3za4rss6l434kmv55cgw2vuziwuigpwegswvwzqipyd.onion/watch?v=C0DPdy98e4c', u'--proxy', u'socks5://127.0.0.1:9150']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.01.16
[debug] Python version 2.7.18 (CPython) - Linux-5.4.0-62-generic-x86_64-with-LinuxMint-20.1-ulyssa
[debug] exe versions: none
[debug] Proxy map: {u'http': u'socks5://127.0.0.1:9150', u'https': u'socks5://127.0.0.1:9150'}
[generic] watch?v=C0DPdy98e4c: Requesting header
WARNING: Falling back on generic information extractor.
[generic] watch?v=C0DPdy98e4c: Downloading webpage
[generic] watch?v=C0DPdy98e4c: Extracting information
[download] Downloading playlist: TEST VIDEO
[generic] playlist TEST VIDEO: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
ERROR: requested format not available
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 805, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1067, in __process_iterable_entry
entry, download=download, extra_info=extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 871, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1670, in process_video_result
expected=True)
ExtractorError: requested format not available

Description

Works:

$ youtube-dl -sv -f "best[ext=mp4][height<=480]" https://invidiou.site/watch?v=C0DPdy98e4c

Not Working:

$ youtube-dl -sv -f "best[ext=mp4][height<=480]" http://invidious.3o7z6yfxhbw7n3za4rss6l434kmv55cgw2vuziwuigpwegswvwzqipyd.onion/watch?v=C0DPdy98e4c --proxy socks5://127.0.0.1:9150

Other Information

There seems to be a problem extracting format information when using the Invidious onion site.

Working

$ youtube-dl -F https://invidiou.site/watch?v=C0DPdy98e4c
[youtube] C0DPdy98e4c: Downloading webpage
[info] Available formats for C0DPdy98e4c:
format code extension resolution note
249 webm audio only tiny 25k , opus @ 50k (48000Hz), 43.28KiB
250 webm audio only tiny 38k , opus @ 70k (48000Hz), 59.42KiB
251 webm audio only tiny 54k , opus @160k (48000Hz), 85.16KiB
140 m4a audio only tiny 127k , m4a_dash container, mp4a.40.2@128k (44100Hz), 274.02KiB
278 webm 192x144 144p 27k , webm container, vp9, 13fps, video only, 52.21KiB
160 mp4 192x144 144p 37k , avc1.4d400b, 25fps, video only, 62.40KiB
394 mp4 192x144 144p 47k , av01.0.00M.08, 25fps, video only, 75.02KiB
395 mp4 320x240 240p 51k , av01.0.00M.08, 25fps, video only, 85.73KiB
133 mp4 320x240 240p 51k , avc1.4d400d, 25fps, video only, 85.11KiB
242 webm 320x240 240p 69k , vp9, 25fps, video only, 131.47KiB
396 mp4 480x360 360p 81k , av01.0.01M.08, 25fps, video only, 141.76KiB
134 mp4 480x360 360p 84k , avc1.4d4015, 25fps, video only, 138.98KiB
243 webm 480x360 360p 106k , vp9, 25fps, video only, 200.87KiB
135 mp4 640x480 480p 121k , avc1.4d401e, 25fps, video only, 197.65KiB
397 mp4 640x480 480p 123k , av01.0.04M.08, 25fps, video only, 212.40KiB
244 webm 640x480 480p 153k , vp9, 25fps, video only, 287.41KiB
18 mp4 480x360 360p 267k , avc1.42001E, 25fps, mp4a.40.2@ 96k (44100Hz), 540.04KiB (best)

Not Working

$ youtube-dl -F http://invidious.3o7z6yfxhbw7n3za4rss6l434kmv55cgw2vuziwuigpwegswvwzqipyd.onion/watch?v=C0DPdy98e4c --proxy socks5://127.0.0.1:9150
[generic] watch?v=C0DPdy98e4c: Requesting header
WARNING: Falling back on generic information extractor.
[generic] watch?v=C0DPdy98e4c: Downloading webpage
[generic] watch?v=C0DPdy98e4c: Extracting information
[download] Downloading playlist: TEST VIDEO
[generic] playlist TEST VIDEO: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[info] Available formats for watch?v=C0DPdy98e4c:
format code extension resolution note
medium mp4 unknown mp4a.40.2
[download] Finished downloading playlist: TEST VIDEO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant