mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 10:20:02 +08:00
flake8 fixes
This commit is contained in:
parent
cd17a1c6d0
commit
a29fb83452
@ -41,7 +41,6 @@ class NovaEmbedIE(InfoExtractor):
|
||||
QUALITIES = ('lq', 'mq', 'hq', 'hd')
|
||||
quality_key = qualities(QUALITIES)
|
||||
|
||||
|
||||
formats = []
|
||||
for format_id, format_list in bitrates.items():
|
||||
if format_id == 'hls':
|
||||
@ -96,7 +95,7 @@ class NovaIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:[^.]+\.)?(?P<site>tv(?:noviny)?|tn|novaplus|vymena|fanda|krasna|doma|prask)\.nova\.cz/(?:[^/]+/)+(?P<id>[^/]+?)(?:\.html|/|$)'
|
||||
_TESTS = [{
|
||||
'url': 'http://tn.nova.cz/clanek/tajemstvi-ukryte-v-podzemi-specialni-nemocnice-v-prazske-krci.html#player_13260',
|
||||
#'md5': '1dd7b9d5ea27bc361f110cd855a19bd3',
|
||||
'md5': '1dd7b9d5ea27bc361f110cd855a19bd3',
|
||||
'info_dict': {
|
||||
'id': '1757139',
|
||||
'display_id': 'tajemstvi-ukryte-v-podzemi-specialni-nemocnice-v-prazske-krci',
|
||||
@ -172,7 +171,6 @@ class NovaIE(InfoExtractor):
|
||||
|
||||
webpage = self._download_webpage(url, display_id)
|
||||
|
||||
|
||||
description = clean_html(self._og_search_description(webpage, default=None))
|
||||
if site == 'novaplus':
|
||||
upload_date = unified_strdate(self._search_regex(
|
||||
|
Loading…
x
Reference in New Issue
Block a user