mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[francetv] Use subtitle when present (Closes #6715)
This commit is contained in:
		| @@ -78,9 +78,14 @@ class FranceTVBaseInfoExtractor(InfoExtractor): | ||||
|                 }) | ||||
|         self._sort_formats(formats) | ||||
|  | ||||
|         title = info['titre'] | ||||
|         subtitle = info.get('sous_titre') | ||||
|         if subtitle: | ||||
|             title += ' - %s' % subtitle | ||||
|  | ||||
|         return { | ||||
|             'id': video_id, | ||||
|             'title': info['titre'], | ||||
|             'title': title, | ||||
|             'description': clean_html(info['synopsis']), | ||||
|             'thumbnail': compat_urlparse.urljoin('http://pluzz.francetv.fr', info['image']), | ||||
|             'duration': int_or_none(info.get('real_duration')) or parse_duration(info['duree']), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․