aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cinchcast.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-30 10:59:07 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-30 10:59:07 +0100
commita52c6335361d0c86ddc8798d291139faa15de54c (patch)
tree7479857a4f8683e91733f57d0287a203a4ed20e1 /youtube_dl/extractor/cinchcast.py
parent7b6c60393eda2c97270f2762fc465401af91b087 (diff)
[cinchcast] Wrap overly long lines (#4820)
Diffstat (limited to 'youtube_dl/extractor/cinchcast.py')
-rw-r--r--youtube_dl/extractor/cinchcast.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cinchcast.py b/youtube_dl/extractor/cinchcast.py
index e23c515d9..562c9bbbb 100644
--- a/youtube_dl/extractor/cinchcast.py
+++ b/youtube_dl/extractor/cinchcast.py
@@ -28,7 +28,10 @@ class CinchcastIE(InfoExtractor):
item, './{http://developer.longtailvideo.com/trac/}date')
upload_date = unified_strdate(date_str, day_first=False)
# duration is present but wrong
- formats = [{'format_id': 'main', 'url': item.find('./{http://search.yahoo.com/mrss/}content').attrib['url']}]
+ formats = [{
+ 'format_id': 'main',
+ 'url': item.find('./{http://search.yahoo.com/mrss/}content').attrib['url'],
+ }]
backup_url = xpath_text(
item, './{http://developer.longtailvideo.com/trac/}backupContent')
if backup_url: