aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/keezmovies.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-08-18 04:39:31 +0700
committerSergey M․ <dstftw@gmail.com>2016-08-18 04:39:31 +0700
commite15ad9ef097253e27c7d2e78a470adaa032e8bfa (patch)
tree7896aeda8b988a5f8d6a9bef0b990393f7636ac8 /youtube_dl/extractor/keezmovies.py
parent4e9fee101508fe90c5b103738d1b6458e40affd6 (diff)
[keezmovies] PEP 8
Diffstat (limited to 'youtube_dl/extractor/keezmovies.py')
-rw-r--r--youtube_dl/extractor/keezmovies.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/keezmovies.py b/youtube_dl/extractor/keezmovies.py
index b002c0dd1..588a4d0ec 100644
--- a/youtube_dl/extractor/keezmovies.py
+++ b/youtube_dl/extractor/keezmovies.py
@@ -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'})