]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube] Fix extraction with --youtube-skip-dash-manifest enabled (closes #14037)
authorSergey M․ <dstftw@gmail.com>
Sat, 26 Aug 2017 22:59:08 +0000 (05:59 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 26 Aug 2017 23:06:39 +0000 (06:06 +0700)
youtube_dl/extractor/youtube.py

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