Przeglądaj źródła

testing view count is stupid

peugeot 11 lat temu
rodzic
commit
17b0b8a166
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      youtube_dl/extractor/anysex.py

+ 1 - 2
youtube_dl/extractor/anysex.py

@@ -16,7 +16,6 @@ class AnySexIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'Busty and sexy blondie in her bikini strips for you',
             'duration': 270,
-            'view_count': 3652
         }
     }
 
@@ -39,6 +38,6 @@ class AnySexIE(InfoExtractor):
             'ext': 'mp4',
             'url': video_url,
             'title': title,
-            'duration': duration,
+            'duration': int_or_none(duration),
             'view_count': int_or_none(view_count),
         }