mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 10:31:29 +00:00
[keezmovies] PEP 8
This commit is contained in:
parent
4e9fee1015
commit
e15ad9ef09
|
@ -39,8 +39,9 @@ class KeezMoviesIE(InfoExtractor):
|
|||
def _extract_info(self, url):
|
||||
mobj = re.match(self._VALID_URL, url)
|
||||
video_id = mobj.group('id')
|
||||
display_id = (mobj.group('display_id') if 'display_id'
|
||||
in mobj.groupdict() else None) or mobj.group('id')
|
||||
display_id = (mobj.group('display_id')
|
||||
if 'display_id' in mobj.groupdict()
|
||||
else None) or mobj.group('id')
|
||||
|
||||
webpage = self._download_webpage(
|
||||
url, display_id, headers={'Cookie': 'age_verified=1'})
|
||||
|
|
Loading…
Reference in a new issue