Parcourir la source

[youtube] Skip download for multiple v= test

Sergey M․ il y a 10 ans
Parent
commit
34a7de2970
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      youtube_dl/extractor/youtube.py

+ 4 - 1
youtube_dl/extractor/youtube.py

@@ -395,7 +395,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
                 'tags': ['youtube-dl'],
                 'like_count': int,
                 'dislike_count': int,
-            }
+            },
+            'params': {
+                'skip_download': True,
+            },
         },
         {
             'url': 'http://www.youtube.com/watch?v=a9LDPn-MO4I',