Browse Source

[cinchcast] Wrap overly long lines (#4820)

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
a52c633536
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      youtube_dl/extractor/cinchcast.py

+ 4
- 1
youtube_dl/extractor/cinchcast.py View File

@ -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:


Loading…
Cancel
Save