Browse Source

[keezmovies] PEP 8

totalwebcasting
Sergey M․ 8 years ago
parent
commit
e15ad9ef09
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      youtube_dl/extractor/keezmovies.py

+ 3
- 2
youtube_dl/extractor/keezmovies.py View File

@ -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…
Cancel
Save