Browse Source

[youtube] Fix extraction with --youtube-skip-dash-manifest enabled (closes #14037)

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
1c9c8de29e
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/youtube.py

+ 1
- 1
youtube_dl/extractor/youtube.py View File

@ -1621,7 +1621,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
self.to_screen('Downloading just video %s because of --no-playlist' % video_id) self.to_screen('Downloading just video %s because of --no-playlist' % video_id)
if view_count is None: if view_count is None:
view_count = extract_view_count(get_video_info)
view_count = extract_view_count(video_info)
# Check for "rental" videos # Check for "rental" videos
if 'ypc_video_rental_bar_text' in video_info and 'author' not in video_info: if 'ypc_video_rental_bar_text' in video_info and 'author' not in video_info:


Loading…
Cancel
Save