söndag 15 mars 2015

Linux - Youtube-dl error - new version fix the problem WARNING: Automatic signature extraction failed: Traceback (most recent call last):

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
    video_id, player_url, len(s)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 331, in _extract_signature_function
    player_type = id_m.group('ext')
AttributeError: 'NoneType' object has no attribute 'group'

WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden
Philipp Hagemeister
Collaborator
Please run youtube-dl --version to make sure you are using a halfway up-to-date version of youtube-dl. Since web services are often changing, we recommend the newest version (2014.09.14.3 as of writing), but you'll need at least 2014.05.25 for some YouTube videos, since YouTube changed their API on June 25th, 2014. It looks like you used a package manager such as apt-get to install youtube-dl. Please contact the Linux Mint support and request a not-totally-outdated version of the youtube-dl package. (Sorry, since we are not affilliated with Linux Mint, we cannot change what they are distributing)
Alternatively, uninstall the youtube-dl package and follow our manual installation instructions. In a pinch, this should do if you used apt-get before to install youtube-dl:
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
Philipp Hagemeister phihag closed this
Patrick Murray
Awesome! Turns out apt-get installed version 2014.02.17. Your solution fixed everything!

Skicka en kommentar