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

WARNING: Automatic signature extraction failed + ERROR: unable to download video data: HTTP Error 403: Forbidden #2766

Closed
ghost opened this issue Apr 17, 2014 · 6 comments

Comments

@ghost
Copy link

@ghost ghost commented Apr 17, 2014

Same issue as #2021 but on the latest version (2014.04.13):

C:\Video>youtube-dl --version
2014.04.13

C:\Video>youtube-dl.exe -F http://www.youtube.com/watch?v=k56Dixavxxo
[youtube] Setting language
[youtube] k56Dixavxxo: Downloading webpage
[youtube] k56Dixavxxo: Downloading video info webpage
[youtube] k56Dixavxxo: Extracting video information
[youtube] k56Dixavxxo: Encrypted signatures detected.
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[info] Available formats for k56Dixavxxo:
format code extension resolution  note
140         m4a       audio only  DASH audio , audio@128k (worst)
160         mp4       144p        DASH video , video only
133         mp4       240p        DASH video , video only
134         mp4       360p        DASH video , video only
135         mp4       480p        DASH video , video only
136         mp4       720p        DASH video , video only
17          3gp       176x144
36          3gp       320x240
5           flv       400x240
43          webm      640x360
18          mp4       640x360
22          mp4       1280x720    (best)
@ghost
Copy link
Author

@ghost ghost commented Apr 18, 2014

Here is the verbose output of download operation for the same video:

c:\Video>youtube-dl http://www.youtube.com/watch?v=k56Dixavxxo --youtube-include-dash-manifest -f bestvideo+bestaudio --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=k56Dixavxxo', '--youtube-include-dash-manifest', '-f', 'bestvideo+bestaudio', '--verbose']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.5 - Windows-8-6.2.9200
[debug] Proxy map: {}
[youtube] Setting language
[youtube] k56Dixavxxo: Downloading webpage
[youtube] k56Dixavxxo: Downloading video info webpage
[youtube] k56Dixavxxo: Extracting video information
[youtube] k56Dixavxxo: Encrypted signatures detected.
[youtube] encrypted signature length 85 (43.41), itag 22, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 43, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 18, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 5, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 36, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 17, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 84 (43.40), itag 136, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 84 (43.40), itag 135, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 84 (43.40), itag 134, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 84 (43.40), itag 133, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 84 (43.40), itag 160, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 84 (43.40), itag 140, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 136, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 135, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 134, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 83 (43.39), itag 133, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 160, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 140, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] k56Dixavxxo: Downloading DASH manifest
WARNING: [youtube] k56Dixavxxo: Skipping DASH manifest: Could not download DASH manifest: HTTP Error 403: Forbidden; 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.
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 1001, in process_info
  File "youtube_dl\YoutubeDL.pyo", line 983, in dl
  File "youtube_dl\downloader\common.pyo", line 291, in download
  File "youtube_dl\downloader\http.pyo", line 54, in real_download
  File "youtube_dl\YoutubeDL.pyo", line 1211, in urlopen
  File "urllib2.pyo", line 410, in open
  File "urllib2.pyo", line 523, in http_response
  File "urllib2.pyo", line 448, in error
  File "urllib2.pyo", line 382, in _call_chain
  File "urllib2.pyo", line 531, in http_error_default
HTTPError: HTTP Error 403: Forbidden
@ghost ghost changed the title WARNING: Automatic signature extraction failed WARNING: Automatic signature extraction failed + ERROR: unable to download video data: HTTP Error 403: Forbidden Apr 18, 2014
@AGSPhoenix
Copy link
Contributor

@AGSPhoenix AGSPhoenix commented Apr 18, 2014

Working for me:

C:\Users\Phoenix>youtube-dl http://www.youtube.com/watch?v=k56Dixavxxo --youtube-include-dash-manifest -f bestvideo+bestaudio --verbose
[debug] System config: []
[debug] User config: ['--no-check-certificate', '--no-mtime']
[debug] Command-line args: ['http://www.youtube.com/watch?v=k56Dixavxxo', '--youtube-include-dash-manifest', '-f', 'bestvideo+bestaudio', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] k56Dixavxxo: Downloading webpage
[youtube] k56Dixavxxo: Downloading video info webpage
[youtube] k56Dixavxxo: Extracting video information
[youtube] k56Dixavxxo: Encrypted signatures detected.
[youtube] encrypted signature length 85 (43.41), itag 22, html5 player en_US-vflMYwWq8
[youtube] k56Dixavxxo: Downloading js player vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 43, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 18, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 5, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 36, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 17, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 86 (43.42), itag 136, html5 player en_US-vflMYwWq8
[youtube] k56Dixavxxo: Downloading js player vflMYwWq8
[youtube] encrypted signature length 86 (43.42), itag 135, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 86 (43.42), itag 134, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 86 (43.42), itag 133, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 86 (43.42), itag 160, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 86 (43.42), itag 140, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 136, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 135, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 134, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 133, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 160, html5 player en_US-vflMYwWq8
[youtube] encrypted signature length 85 (43.41), itag 140, html5 player en_US-vflMYwWq8
[youtube] k56Dixavxxo: Downloading DASH manifest
[download] Destination: Tigerskin - This Place Is Empty Without You (Dub)-k56Dixavxxo.f136.mp4
[download] 100% of 22.34MiB in 01:07
[download] Destination: Tigerskin - This Place Is Empty Without You (Dub)-k56Dixavxxo.f141.m4a
[download] 100% of 10.46MiB in 00:25
[ffmpeg] Merging formats into "Tigerskin - This Place Is Empty Without You (Dub)-k56Dixavxxo.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'Tigerskin - This Place Is Empty Without You (Dub)-k56Dixavxxo.f136.mp4' -i 'Tigerskin - This Place Is Empty Without You (Dub)-k56Dixavxxo.f141.m4a' -c copy 'Tigerskin - This Place Is Empty Without You (Dub)-k56Dixavxxo.mp4'

Not sure what could be causing the problem. Your post was 5 hours before mine, perhaps YouTube changed something between then and now? I'd say try the command again and report back if it's still broken for you.

Edit: I just noticed something. All of your encrypted signature lengths are 83, 84, or 85, whereas mine are 85 or 86. I don't know what that means, if anything, but it could be something to look into.

@ghost
Copy link
Author

@ghost ghost commented Apr 18, 2014

Tried again couple minutes ago and, unfortunately, results are the same.
This time I dumped all intermediate pages (shared them here: https://www.dropbox.com/s/kye4foc2pabfnrh/Dumps.zip) and requests:

C:\Video>youtube-dl http://www.youtube.com/watch?v=k56Dixavxxo --youtube-include-dash-manifest -f bestvideo+bestaudio --verbose --print-traffic --write-pages
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=k56Dixavxxo', '--youtube-include-dash-manifest', '-f', 'bestvideo+bestaudio', '--verbose', '--print-traffic', '--write-pages']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.5 - Windows-2012Server-6.2.9200
[debug] Proxy map: {}
[youtube] Setting language
send: 'GET /?hl=en&persist_hl=1&gl=US&persist_gl=1&opt_out_ackd=1 HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConne
ction: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20
100101 Firefox/10.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.youtube.com\r\n\r\n'
reply: 'HTTP/1.1 302 Found\r\n'
header: Date: Fri, 18 Apr 2014 12:27:09 GMT
header: Server: gwiseguy/2.0
header: P3P: CP="This is not a P3P policy! See http://support.google.com/accounts/bin/answer.py?answer=151657&hl=en for more info."
header: Expires: Tue, 27 Apr 1971 19:44:06 EST
header: Location: https://www.youtube.com/?hl=en&persist_hl=1&gl=US
header: X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
header: Set-Cookie: VISITOR_INFO1_LIVE=6S3tV2SZkdc; path=/; domain=.youtube.com; expires=Thu, 18-Dec-2014 00:20:09 GMT
header: Set-Cookie: s_gl=; path=/; domain=.youtube.com; expires=Thu, 01-Jan-1970 00:00:00 GMT
header: Set-Cookie: YSC=SJ1jE7Ken6o; path=/; domain=.youtube.com; httponly
header: Set-Cookie: PREF=f1=50000000&gl=US; path=/; domain=.youtube.com; expires=Thu, 18-Dec-2014 00:20:09 GMT
header: Cache-Control: no-cache
header: Content-Length: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Content-Type: text/html; charset=utf-8
header: Alternate-Protocol: 443:quic
header: Connection: close
send: 'GET /?hl=en&persist_hl=1&gl=US HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text
/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)
\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.youtube.com\r\nCookie: YSC=SJ1jE7Ken6o; VISITOR_INFO1_LIVE=6S3tV2SZkdc; PREF=f1=50000000
&gl=US\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Fri, 18 Apr 2014 12:27:09 GMT
header: Server: gwiseguy/2.0
header: X-Frame-Options: SAMEORIGIN
header: Content-Type: text/html; charset=utf-8
header: Cache-Control: no-cache
header: Set-Cookie: s_gl=1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw==; path=/; domain=.youtube.com
header: Expires: Tue, 27 Apr 1971 19:44:06 EST
header: X-Content-Type-Options: nosniff
header: P3P: CP="This is not a P3P policy! See http://support.google.com/accounts/bin/answer.py?answer=151657&hl=en for more info."
header: X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
header: Content-Encoding: gzip
header: Transfer-Encoding: chunked
header: Alternate-Protocol: 443:quic
header: Connection: close
[youtube] Saving request to None_https_-_www.youtube.com_hl=en_persist_hl=1_gl=US_persist_gl=1_opt_out_ackd=1.dump
[youtube] k56Dixavxxo: Downloading webpage
send: u'GET /watch?v=k56Dixavxxo&gl=US&hl=en&has_verified=1 HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection:
 close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101
 Firefox/10.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.youtube.com\r\nCookie: YSC=SJ1jE7Ken6o; VISITOR_INFO1_LIVE=6S3tV2S
Zkdc; PREF=f1=50000000&gl=US; s_gl=1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw==\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Fri, 18 Apr 2014 12:27:10 GMT
header: Server: gwiseguy/2.0
header: X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
header: Content-Type: text/html; charset=utf-8
header: Cache-Control: no-cache
header: P3P: CP="This is not a P3P policy! See http://support.google.com/accounts/bin/answer.py?answer=151657&hl=en for more info."
header: X-Content-Type-Options: nosniff
header: Expires: Tue, 27 Apr 1971 19:44:06 EST
header: X-Frame-Options: SAMEORIGIN
header: Content-Encoding: gzip
header: Set-Cookie: s_gl=1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw==; path=/; domain=.youtube.com
header: Transfer-Encoding: chunked
header: Alternate-Protocol: 443:quic
header: Connection: close
[youtube] Saving request to k56Dixavxxo_https_-_www.youtube.com_watchv=k56Dixavxxo_gl=US_hl=en_has_verified=1.dump
[youtube] k56Dixavxxo: Downloading video info webpage
send: u'GET /get_video_info?&video_id=k56Dixavxxo&el=embedded&ps=default&eurl=&gl=US&hl=en HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encodin
g: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux
x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.youtube.com\r\nCookie: YSC=SJ1jE7Ke
n6o; VISITOR_INFO1_LIVE=6S3tV2SZkdc; PREF=f1=50000000&gl=US; s_gl=1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw==\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Fri, 18 Apr 2014 12:27:10 GMT
header: Server: gwiseguy/2.0
header: Expires: Tue, 27 Apr 1971 19:44:06 EST
header: Cache-Control: no-store
header: Content-Type: application/x-www-form-urlencoded
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Set-Cookie: s_gl=1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw==; path=/; domain=.youtube.com
header: X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
header: P3P: CP="This is not a P3P policy! See http://support.google.com/accounts/bin/answer.py?answer=151657&hl=en for more info."
header: Transfer-Encoding: chunked
header: Alternate-Protocol: 443:quic
header: Connection: close
[youtube] Saving request to k56Dixavxxo_https_-_www.youtube.com_get_video_info_video_id=k56Dixavxxo_el=embedded_ps=default_eurl=_gl=US_hl=en.dump
[youtube] k56Dixavxxo: Extracting video information
[youtube] k56Dixavxxo: Encrypted signatures detected.
[youtube] encrypted signature length 85 (43.41), itag 22, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 43, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 18, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 5, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 36, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 17, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 136, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 135, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 134, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 133, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 160, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 140, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 136, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 135, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 134, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 133, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 160, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 85 (43.41), itag 140, html5 player en_US-vflMYwWq8
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 872, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 361, in _extract_signature_function
  File "ntpath.pyo", line 108, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal not in range(128)

WARNING: Warning: Falling back to static signature algorithm
[youtube] k56Dixavxxo: Downloading DASH manifest
send: u'GET /api/manifest/dash/sver/3/upn/PtS72hTftwI/cmbypass/yes/ip/128.69.35.109/itag/0/playback_host/r3---sn-n8v7ln7r.googlevideo.com/source/youtube
/ms/au/key/yt5/expire/1397849321/signature/802315CFA816183AA0026AD1F8C8287C3A42911D.A6C6BF271B8662D42B46AF8ECB0F4118D5FA4A36/fexp/912300%2C927614%2C9458
17%2C936117%2C937417%2C913434%2C923328%2C936916%2C934022%2C936923/id/o-AFdJ4VX6DhoSh9B2X7hq4RDvV6kZW6YqIlIzbmWAwYvE/as/fmp4_audio_clear%2Cwebm_audio_cle
ar%2Cfmp4_sd_hd_clear%2Cwebm_sd_hd_clear/sparams/as%2Ccmbypass%2Cid%2Cip%2Cipbits%2Citag%2Cplayback_host%2Csource%2Cexpire/mt/1397823976/mv/m/ipbits/0 H
TTP/1.1\r\nHost: manifest.googlevideo.com\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept: text/html,application/xhtml+xm
l,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)\r\nAccept-Charset: ISO-88
59-1,utf-8;q=0.7,*;q=0.7\r\nConnection: close\r\n\r\n'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Content-Type: text/html; charset=UTF-8
header: Date: Fri, 18 Apr 2014 12:27:11 GMT
header: Pragma: no-cache
header: Expires: Fri, 01 Jan 1990 00:00:00 GMT
header: Cache-Control: no-cache, must-revalidate
header: Server: HTTP server (unknown)
header: Content-Length: 1996
header: X-XSS-Protection: 1; mode=block
header: X-Frame-Options: SAMEORIGIN
header: Alternate-Protocol: 80:quic
header: Connection: close
WARNING: [youtube] k56Dixavxxo: Skipping DASH manifest: Could not download DASH manifest: HTTP Error 403: Forbidden; 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  y
outube-dl -U  to update.
send: u'GET /videoplayback?lmt=1387546744640456&sver=3&clen=23422254&ip=128.69.35.109&itag=136&gir=yes&source=youtube&ms=au&key=yt5&upn=tfD4e4QWUsY&expi
re=1397849321&dur=344.000&id=o-AFdJ4VX6DhoSh9B2X7hq4RDvV6kZW6YqIlIzbmWAwYvE&sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cex
pire&mt=1397823976&fexp=912300%2C927614%2C945817%2C936117%2C937417%2C913434%2C923328%2C936916%2C934022%2C936923&mv=m&ipbits=0&signature=2BFE7058C2D2A299
502CE6AEBADBF2E8E900A53A.C270529B34C656BAE478B096B0C03B24A6AFBC46&ratebypass=yes HTTP/1.1\r\nHost: r3---sn-n8v7ln7r.googlevideo.com\r\nAccept-Encoding:
identity\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nConnection: close\r\nAccept-Language: en-us,en;q=0.5\r\nAccept: text/html,application/xhtm
l+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)\r\n\r\n'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Last-Modified: Wed, 02 May 2007 10:26:10 GMT
header: Content-Type: text/plain
header: Content-Length: 0
header: Connection: close
header: X-Content-Type-Options: nosniff
header: Date: Fri, 18 Apr 2014 12:27:11 GMT
header: Server: gvs 1.0
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 1001, in process_info
  File "youtube_dl\YoutubeDL.pyo", line 983, in dl
  File "youtube_dl\downloader\common.pyo", line 291, in download
  File "youtube_dl\downloader\http.pyo", line 54, in real_download
  File "youtube_dl\YoutubeDL.pyo", line 1211, in urlopen
  File "urllib2.pyo", line 410, in open
  File "urllib2.pyo", line 523, in http_response
  File "urllib2.pyo", line 448, in error
  File "urllib2.pyo", line 382, in _call_chain
  File "urllib2.pyo", line 531, in http_error_default
HTTPError: HTTP Error 403: Forbidden

I cannot say that I am familiar with Python programming, but I'll try to investigate this issue by debugging source code today later.

@ghost
Copy link
Author

@ghost ghost commented Apr 18, 2014

Well, I've figured out how to debug source code of youtube-dl in Visual Studio and found out what was causing this problem.

First I thought that there might be something with my computer, so I tried to download this video on another computer, but result was the same. By the way, I have Windows 8 on the first computer and Windows Server 2012 R2 on the second computer. On previous versions of Windows, including Windows 7, Microsoft allowed users to choose their account name (I used my nickname), but on Windows 8 (and in some cases on 2012) it insist to create Microsoft account (otherwise Windows store won't work) and uses user's first name as account name, which in my case, obviously, is a bunch of Cyrillic characters ("Алексей", it's Russian name).

Apparently, this video contains obfuscated signature which requires youtube-dl to store some downloaded information in the cache. Default youtube-dl's cache directory in Windows is %USERPROFILE%/.cache\youtube-dl (C:\Users\Алексей/.cache\youtube-dl for both computers I used to test youtube-dl), but for some reason Python doesn't like non-ASCII characters in path (at least os.path.join function doesn't like them) and throws an exception.

Anyway, --cache-dir <path_that_contains_only-ASCII_characters> parameter works perfectly and resolves this problem.

@haasn
Copy link
Contributor

@haasn haasn commented Jun 22, 2014

Edit: Never mind, duplicate of #3104.

@ghost
Copy link
Author

@ghost ghost commented Jun 22, 2014

Already fixed in newest version. Please upgrade with youtube-dl -U

@ghost ghost closed this Jun 22, 2014
This issue was closed.
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
2 participants
You can’t perform that action at this time.