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

Random video I found on youtube that doesn't work in youtube-dl #25941

Closed
NEOAethyr opened this issue Jul 9, 2020 · 4 comments
Closed

Random video I found on youtube that doesn't work in youtube-dl #25941

NEOAethyr opened this issue Jul 9, 2020 · 4 comments

Comments

@NEOAethyr
Copy link

@NEOAethyr NEOAethyr commented Jul 9, 2020

youtube-dl --verbose --list-formats "https://youtube.com/watch?v=m9ThyFE0V1Q"[debug] System config: []

[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--no-call-home', u'--prefer-ffmpeg', u'--verbose', u'--list-formats', u'https://youtube.com/watch?v=m9ThyFE0V1Q']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 2.7.17rc1 (CPython) - Linux-5.3.13-m2-x86_64-with-Ubuntu-19.10-eoan
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4
[debug] Proxy map: {}
[youtube] m9ThyFE0V1Q: Downloading webpage
ERROR: m9ThyFE0V1Q: YouTube said: Unable to extract video data

Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1893, in _real_extract
'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
ExtractorError: m9ThyFE0V1Q: YouTube said: Unable to extract video data

You can play it back like this though:
https://www.youtube.com/embed/m9ThyFE0V1Q?feature=oembed
However youtube-dl still doesn't hook to it.
It's been a couple years but I'm not seeing the string in the src/json stuff.
And apperrently I can't force youtube to the old ver anymore to debug that.

This example video is an odd one, usually comments get restricted too I think.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 9, 2020

You must authenticate.

@dstftw dstftw closed this Jul 9, 2020
@sergeevabc
Copy link

@sergeevabc sergeevabc commented Jul 9, 2020

I see the same “Unable to extract video data” error message while trying to download the following video on Youtube.
However, it is displayed fine without any additional requests (to authenticate, for example) via Hooktube’s interface.
Why?

@NEOAethyr
Copy link
Author

@NEOAethyr NEOAethyr commented Jul 9, 2020

dstftw, Authenticate?
Like my acct, I haven't used this thing in years..?
I put the verbose in there..

I followed the template rules essentially.

If you mean on youtube, I don't have a login, I was banned a year or 2 ago with no warning.
Hence why I'd like to use youtube-dl to pipe to mpv to bypass these things.
I can bypass logging in with the embedded ver.
But youtube-dl still doesn't catch it.

If I need to back these things up for prosperity, and perhaps make a mirror, then wth... :\

@garoto
Copy link

@garoto garoto commented Jul 9, 2020

If you mean on youtube, I don't have a login, I was banned a year or 2 ago with no warning.

Then you can't download this video, since it's age-restricted,

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.