projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b6c603
)
[cinchcast] Wrap overly long lines (#4820)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 30 Jan 2015 09:59:07 +0000
(10:59 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 30 Jan 2015 09:59:07 +0000
(10:59 +0100)
youtube_dl/extractor/cinchcast.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cinchcast.py
b/youtube_dl/extractor/cinchcast.py
index e23c515d9cfc5ac262d3ae075d1168b54803e27d..562c9bbbb4d02305d22a7ad5bc22ef9056d25258 100644
(file)
--- 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: