]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/expressen.py
New upstream version 2019.06.08
[youtubedl] / youtube_dl / extractor / expressen.py
index 9345714726bb7121b39eabf7fe86c1e669a4b39c..f79365038d973754ee0a2a398bc035d9521b2a6d 100644 (file)
@@ -82,8 +82,8 @@ class ExpressenIE(InfoExtractor):
         title = info.get('titleRaw') or data['title']
         description = info.get('descriptionRaw')
         thumbnail = info.get('socialMediaImage') or data.get('image')
-        duration = int_or_none(info.get('videoTotalSecondsDuration') or
-                               data.get('totalSecondsDuration'))
+        duration = int_or_none(info.get('videoTotalSecondsDuration')
+                               or data.get('totalSecondsDuration'))
         timestamp = unified_timestamp(info.get('publishDate'))
 
         return {