Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
-U says it's current. It downloads ok from other youtube urls. The older version 2020.01.15 in the local directory does not give the error.
dave@xxx:
/Downloads$ youtube-dl -F https://www.youtube.com/watch?v=CJ37T95dmI8/Downloads$[youtube] CJ37T95dmI8: Downloading webpage
ERROR: CJ37T95dmI8: YouTube said: Unable to extract video data
dave@xxx:
dave@xxx:~/Downloads$ youtube-dl -F https://www.youtube.com/watch?v=CJ37T95dmI8 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-F', u'https://www.youtube.com/watch?v=CJ37T95dmI8', u'--verbose']
[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.12 (CPython) - Linux-4.15.0-107-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] CJ37T95dmI8: Downloading webpage
ERROR: CJ37T95dmI8: 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: CJ37T95dmI8: YouTube said: Unable to extract video data
dave@xxx:~/Downloads$
Using an older local copy of youtube-dl, no error:
dave@xxx:
/Downloads$ ./youtube-dl -F https://www.youtube.com/watch?v=CJ37T95dmI8 --verbose/Downloads$[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-F', u'https://www.youtube.com/watch?v=CJ37T95dmI8', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.15
[debug] Python version 2.7.12 (CPython) - Linux-4.15.0-107-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] CJ37T95dmI8: Downloading webpage
[youtube] CJ37T95dmI8: Downloading video info webpage
[info] Available formats for CJ37T95dmI8:
format code extension resolution note
249 webm audio only tiny 58k , opus @ 50k (48000Hz), 29.58MiB
250 webm audio only tiny 76k , opus @ 70k (48000Hz), 38.34MiB
140 m4a audio only tiny 135k , m4a_dash container, mp4a.40.2@128k (44100Hz), 82.22MiB
251 webm audio only tiny 146k , opus @160k (48000Hz), 75.44MiB
278 webm 256x144 144p 90k , webm container, vp9, 24fps, video only, 49.99MiB
160 mp4 256x144 144p 110k , avc1.4d400c, 24fps, video only, 37.87MiB
242 webm 426x240 240p 197k , vp9, 24fps, video only, 86.77MiB
133 mp4 426x240 240p 246k , avc1.4d4015, 24fps, video only, 82.41MiB
243 webm 640x360 360p 426k , vp9, 24fps, video only, 177.71MiB
134 mp4 640x360 360p 632k , avc1.4d401e, 24fps, video only, 158.45MiB
244 webm 854x480 480p 786k , vp9, 24fps, video only, 308.79MiB
135 mp4 854x480 480p 1158k , avc1.4d401e, 24fps, video only, 267.27MiB
247 webm 1280x720 720p 1570k , vp9, 24fps, video only, 573.64MiB
136 mp4 1280x720 720p 1851k , avc1.4d401f, 24fps, video only, 472.70MiB
248 webm 1920x1080 1080p 2728k , vp9, 24fps, video only, 1.02GiB
137 mp4 1920x1080 1080p 4351k , avc1.640028, 24fps, video only, 1.31GiB
18 mp4 640x360 360p 546k , avc1.42001E, 24fps, mp4a.40.2@ 96k (44100Hz), 346.92MiB
22 mp4 1280x720 720p 873k , avc1.64001F, 24fps, mp4a.40.2@192k (44100Hz) (best)
dave@xxx:
Thanks. Great program, I use it all the time.