]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[keezmovies] PEP 8
authorSergey M․ <dstftw@gmail.com>
Wed, 17 Aug 2016 21:39:31 +0000 (04:39 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 17 Aug 2016 21:39:31 +0000 (04:39 +0700)
youtube_dl/extractor/keezmovies.py

index b002c0dd10684d006c775d0271d67f80fcba8a26..588a4d0ec4eda6e38817b26f192536c40a172f3e 100644 (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'})