Closed sessary closed 10 years ago
Same here: :~/Music/tinker$ youtube-dl --verbose https://www.youtube.com/watch?v=HK_iO1Qf7gg [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=HK_iO1Qf7gg'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.07.15 [debug] Python version 2.6.6 - Linux-2.6.32-5-amd64-x86_64-with-debian-6.0.10 [debug] Proxy map: {} [youtube] Setting language [youtube] HK_iO1Qf7gg: Downloading webpage [youtube] HK_iO1Qf7gg: Downloading video info webpage [youtube] HK_iO1Qf7gg: Extracting video information [youtube] HK_iO1Qf7gg: Encrypted signatures detected. [youtube] encrypted signature length 83 (41.41), itag 43, html5 player en_US-vflC7g_iA\/html5player ERROR: Automatic signature extraction failed: Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update. Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info ie_result = ie.extract(url) File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/common.py", line 168, in extract return self._real_extract(url) File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 1249, in _real_extract encrypted_sig, video_id, player_url, age_gate) File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 887, in _decrypt_signature u'Automatic signature extraction failed: ' + tb, cause=e) ExtractorError: Automatic signature extraction failed: Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/local/lib/python2.6/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update. // please excuse the noise. it works now. was not updated. it works now. just updated. Apparently I cannot read. :(
You are both using an outdated version of youtube-dl. YouTube changed their API on 2014-07-25, so you'll need at least youtube-dl 2014.07.25 to download all YouTube videos.
The debian, Mint, and Ubuntu folks seem to have stopped updating youtube-dl versions. Since we are not affilliated with any of those projects, the only thing you can do is contact the respective support.
Alternatively, uninstall the youtube-dl package and follow our manual installation instructions. From then on, you'll be able to update with sudo youtube-dl -U
. In a pinch, this should do:
sudo apt-get remove -y youtube-dl
sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
hash -r
This worked a few days ago, but nothing I've tried today has been successful.
youtube-dl --verbose http://www.youtube.com/watch?v=qxaPj19VnRA [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=qxaPj19VnRA'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.07.15 [debug] Python version 2.7.5+ - Linux-3.11.0-12-generic-x86_64-with-LinuxMint-16-petra [debug] Proxy map: {} [youtube] Setting language [youtube] qxaPj19VnRA: Downloading webpage [youtube] qxaPj19VnRA: Downloading video info webpage [youtube] qxaPj19VnRA: Extracting video information [youtube] qxaPj19VnRA: Encrypted signatures detected. [youtube] encrypted signature length 83 (41.41), itag 43, html5 player en_US-vflC7g_iA\/html5player ERROR: Automatic signature extraction failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info ie_result = ie.extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 168, in extract return self._real_extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1249, in _real_extract encrypted_sig, video_id, player_url, age_gate) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 887, in _decrypt_signature u'Automatic signature extraction failed: ' + tb, cause=e) ExtractorError: Automatic signature extraction failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.