From 17b0b8a1661e0f51e17d1ed74307d79eaab1ccfd Mon Sep 17 00:00:00 2001 From: peugeot Date: Sat, 30 Aug 2014 20:55:42 +0200 Subject: [PATCH] testing view count is stupid --- youtube_dl/extractor/anysex.py | 3 +-- 1 file changed, 1 insertion(+), 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 @@ def _real_extract(self, url): 'ext': 'mp4', 'url': video_url, 'title': title, - 'duration': duration, + 'duration': int_or_none(duration), 'view_count': int_or_none(view_count), }