mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 17:02:15 +08:00
[twentymin] flake8
This commit is contained in:
parent
451ae1f8b1
commit
77eac436cb
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user