aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cinchcast.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/cinchcast.py')
-rw-r--r--youtube_dl/extractor/cinchcast.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/youtube_dl/extractor/cinchcast.py b/youtube_dl/extractor/cinchcast.py
index 0c9a24bef..562c9bbbb 100644
--- a/youtube_dl/extractor/cinchcast.py
+++ b/youtube_dl/extractor/cinchcast.py
@@ -28,12 +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 = []
- formats.append({
+ formats = [{
'format_id': 'main',
- 'url': item.find(
- './{http://search.yahoo.com/mrss/}content').attrib['url'],
- })
+ '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: