1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 21:36:03 +08:00

[cinchcast] Wrap overly long lines (#4820)

This commit is contained in:
Philipp Hagemeister 2015-01-30 10:59:07 +01:00
parent 7b6c60393e
commit a52c633536

View File

@ -28,7 +28,10 @@ class CinchcastIE(InfoExtractor):
item, './{http://developer.longtailvideo.com/trac/}date') item, './{http://developer.longtailvideo.com/trac/}date')
upload_date = unified_strdate(date_str, day_first=False) upload_date = unified_strdate(date_str, day_first=False)
# duration is present but wrong # 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( backup_url = xpath_text(
item, './{http://developer.longtailvideo.com/trac/}backupContent') item, './{http://developer.longtailvideo.com/trac/}backupContent')
if backup_url: if backup_url: