mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 19:40:01 +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(
|
video_id = self._search_regex(
|
||||||
r'.*videoId@(\d+)',
|
r'.*videoId@(\d+)',
|
||||||
params, 'Video Id', default=None) if params is not None else ''
|
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)
|
raise ExtractorError('No media links found on %s.' % url, expected=True)
|
||||||
|
|
||||||
description = self._html_search_meta('description', webpage, 'description')
|
description = self._html_search_meta('description', webpage, 'description')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user