summary refs log tree commit diff
diff options
context:
space:
mode:
authorpeugeot <peugeot@psa.fr>2014-08-30 20:55:42 +0200
committerpeugeot <peugeot@psa.fr>2014-08-30 20:55:42 +0200
commit17b0b8a1661e0f51e17d1ed74307d79eaab1ccfd (patch)
treef024b3c84558d86471f1c6909b25661e3f9ea1f5
parent0bafcf6f468985df5dfd3d402815a73e69193e2d (diff)
downloadyoutube-dl-17b0b8a1661e0f51e17d1ed74307d79eaab1ccfd.tar.gz
youtube-dl-17b0b8a1661e0f51e17d1ed74307d79eaab1ccfd.tar.xz
youtube-dl-17b0b8a1661e0f51e17d1ed74307d79eaab1ccfd.zip
testing view count is stupid
-rw-r--r--youtube_dl/extractor/anysex.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/anysex.py b/youtube_dl/extractor/anysex.py
index bfc7eb3c5..d578a1712 100644
--- a/youtube_dl/extractor/anysex.py
+++ b/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),
         }