From 77eac436cbc266af5be132141c3c36a3d099d10a Mon Sep 17 00:00:00 2001 From: Alex Seiler Date: Wed, 11 Jan 2017 19:34:04 +0100 Subject: [PATCH] [twentymin] flake8 --- youtube_dl/extractor/twentymin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/twentymin.py b/youtube_dl/extractor/twentymin.py index f9e40d7c1..ab35d6be2 100644 --- a/youtube_dl/extractor/twentymin.py +++ b/youtube_dl/extractor/twentymin.py @@ -98,7 +98,7 @@ class TwentyMinutenIE(InfoExtractor): video_id = self._search_regex( r'.*videoId@(\d+)', params, 'Video Id', default=None) if params is not None else '' - if not video_id: # the article does not contain a video + if not video_id: # the article does not contain a video raise ExtractorError('No media links found on %s.' % url, expected=True) description = self._html_search_meta('description', webpage, 'description')