fixed flake8 warnings
This commit is contained in:
parent
03f0f7c437
commit
1eab6d337c
@ -297,6 +297,7 @@ class DRTVIE(InfoExtractor):
|
|||||||
'release_year': int_or_none(data.get('ProductionYear')),
|
'release_year': int_or_none(data.get('ProductionYear')),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class DRTVPlaylistIE(InfoExtractor):
|
class DRTVPlaylistIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
@ -308,10 +309,10 @@ class DRTVPlaylistIE(InfoExtractor):
|
|||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'https://www.dr.dk/drtv/serie/spise-med-price_43537',
|
'url': 'https://www.dr.dk/drtv/serie/spise-med-price_43537',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'spise-med-price',
|
'id': 'spise-med-price_43537',
|
||||||
'title': 'Spise med Price'
|
'title': 'Spise med Price'
|
||||||
},
|
},
|
||||||
'playlist_mincount': 6,
|
'playlist_mincount': 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -342,8 +343,6 @@ class DRTVPlaylistIE(InfoExtractor):
|
|||||||
|
|
||||||
return episodes
|
return episodes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
playlist_id = self._match_id(url)
|
playlist_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, playlist_id)
|
webpage = self._download_webpage(url, playlist_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user