mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Simplify list creation
This commit is contained in:
		| @@ -28,12 +28,7 @@ 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({ | ||||
|             '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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 codesparkle
					codesparkle