ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.43k stars 10.04k forks source link

Failed to extract audio #3464

Closed rekenerd closed 10 years ago

rekenerd commented 10 years ago

I'm getting following error while trying to extract audio.

➜  ~  youtube-dl -x --verbose  --audio-format mp3 https://www.youtube.com/watch\?v\=rYEDA3JcQqw
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-x', '--verbose', '--audio-format', 'mp3', 'https://www.youtube.com/watch?v=rYEDA3JcQqw']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.11.3
[debug] Python version 2.7.3 - Linux-3.2.0-58-generic-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] rYEDA3JcQqw: Downloading webpage
[youtube] rYEDA3JcQqw: Downloading video info webpage
[youtube] rYEDA3JcQqw: Extracting video information
[youtube] rYEDA3JcQqw: Encrypted signatures detected.
[youtube] encrypted signature length 88 (0.1.85), itag 22, html5 player en_US-vflHkCS5P\/html5player
ERROR: Automatic signature extraction failed: Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
    video_id, player_url, len(s)
  File "/usr/bin/youtube-dl/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/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
    video_id, player_url, len(s)
  File "/usr/bin/youtube-dl/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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 168, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1249, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/usr/bin/youtube-dl/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/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
    video_id, player_url, len(s)
  File "/usr/bin/youtube-dl/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.
rekenerd commented 10 years ago

Working properly with latest version of youtube-dl.