mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[dfb] Extract formats
This commit is contained in:
		| @@ -37,13 +37,13 @@ class DFBIE(InfoExtractor): | |||||||
|             self._proto_relative_url(video_info.find('url').text.strip()), display_id) |             self._proto_relative_url(video_info.find('url').text.strip()), display_id) | ||||||
|         token_el = f4m_info.find('token') |         token_el = f4m_info.find('token') | ||||||
|         manifest_url = token_el.attrib['url'] + '?' + 'hdnea=' + token_el.attrib['auth'] + '&hdcore=3.2.0' |         manifest_url = token_el.attrib['url'] + '?' + 'hdnea=' + token_el.attrib['auth'] + '&hdcore=3.2.0' | ||||||
|  |         formats = self._extract_f4m_formats(manifest_url, display_id) | ||||||
|  |  | ||||||
|         return { |         return { | ||||||
|             'id': video_id, |             'id': video_id, | ||||||
|             'display_id': display_id, |             'display_id': display_id, | ||||||
|             'title': video_info.find('title').text, |             'title': video_info.find('title').text, | ||||||
|             'url': manifest_url, |  | ||||||
|             'ext': 'flv', |  | ||||||
|             'thumbnail': self._og_search_thumbnail(webpage), |             'thumbnail': self._og_search_thumbnail(webpage), | ||||||
|             'upload_date': unified_strdate(video_info.find('time_date').text), |             'upload_date': unified_strdate(video_info.find('time_date').text), | ||||||
|  |             'formats': formats, | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user