aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-08-27 05:59:08 +0700
committerSergey M․ <dstftw@gmail.com>2017-08-27 06:06:39 +0700
commit1c9c8de29e83bbfc38027dabcd9642f1c41a64b0 (patch)
tree5699a01872a77b2b67392299558201e28e55efd4 /youtube_dl/extractor/youtube.py
parentf031b760650f57672deecacb3f1991bd6fcd778e (diff)
[youtube] Fix extraction with --youtube-skip-dash-manifest enabled (closes #14037)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 3d0f5a5c9..5a6b735a0 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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: