From: peugeot Date: Sat, 30 Aug 2014 18:55:42 +0000 (+0200) Subject: testing view count is stupid X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=17b0b8a1661e0f51e17d1ed74307d79eaab1ccfd;p=youtube-dl testing view count is stupid --- 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), }