youtube-dl: Unable to download purchased movie

Attempted to download a purchased movie to see if I could download it via youtube-dl

Unfortunately, the following trace occurred with the run args:

$ youtube-dl --verbose -ct -u 'username@domain.com' -p 'password' 'z4l7OZLIh9w'

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-ct', '-u', '<PRIVATE>', '-p', '<PRIVATE>', 'z4l7OZLIh9w']
[debug] youtube-dl version 2013.11.15.1
[debug] Python version 2.7.3 - Linux-3.2.0-55-generic-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Logging in
[youtube] Confirming age
[youtube] z4l7OZLIh9w: Downloading video webpage
[youtube] z4l7OZLIh9w: Downloading video info webpage
[youtube] z4l7OZLIh9w: Extracting video information
[youtube] z4l7OZLIh9w: Encrypted signatures detected.
[youtube] encrypted signature length 85 (40.44), itag 60, html5 player vflqSl9GX
[youtube] encrypted signature length 85 (40.44), itag 52, html5 player vflqSl9GX
ERROR: no known formats available for video; 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/YoutubeDL.py", line 348, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 125, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1452, in _real_extract
    video_url_list = self._get_video_url_list(url_map)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1189, in _get_video_url_list
    raise ExtractorError(u'no known formats available for video')
ExtractorError: no known formats available for video; 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.

Also tried specifying mp4. I’ll try other formats.

About this issue

  • Original URL
  • State: open
  • Created 11 years ago
  • Reactions: 2
  • Comments: 29 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I’m not exactly sure, but the famous “Never Gonna Give You Up” video from Rick Astley seems to be copyrighted and therfore DRM-protected. I am going to try to download that video later (essentially rickrolling myself 😕) and report back.

Here is the link if you want to try: https://youtu.be/dQw4w9WgXcQ

Yep, totally works, but just not sure if this is actually DRM-protected, as said.

It seems that they use itags 60 and 52 for those movies, could you try to run it from source after modifying youtube_dl/extractor/youtube.py? it should look like this:

_available_formats = ['38', '37', '46', '22', '45', '35', '44', '34', '18', '43', '6', '5', '36', '17', '13',
                          # Apple HTTP Live Streaming
                          '96', '95', '94', '93', '92', '132', '151',
                          # 3D
                          '85', '84', '102', '83', '101', '82', '100',
                          # Dash video
                          '138', '137', '248', '136', '247', '135', '246',
                          '245', '244', '134', '243', '133', '242', '160',
                          # Dash audio
                          '141', '172', '140', '171', '139',
                          # Rented movies
                          '60', '52', # <= Modification
                          ]

If you prefer I can open a branch with that modification so that you can directly download the source and run it.

Might I recommend you obfuscate that password?