mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 00:52:55 +08:00
[RTBF] Adding the subtitle property
as it is used in many TV shows.
This commit is contained in:
parent
c2f18e1c49
commit
6759b1f910
@ -24,6 +24,7 @@ class RTBFIE(InfoExtractor):
|
||||
'ext': 'mp4',
|
||||
'title': 'Les Diables au coeur (épisode 2)',
|
||||
'description': 'Football - Diables Rouges',
|
||||
'subtitle': 'Football - Diables Rouges'
|
||||
'duration': 3099,
|
||||
'upload_date': '20140425',
|
||||
'timestamp': 1398456336,
|
||||
@ -89,6 +90,7 @@ class RTBFIE(InfoExtractor):
|
||||
'formats': formats,
|
||||
'title': data['title'],
|
||||
'description': data.get('description') or data.get('subtitle'),
|
||||
'subtitle': data.get('subtitle'),
|
||||
'thumbnails': thumbnails,
|
||||
'duration': data.get('duration') or data.get('realDuration'),
|
||||
'timestamp': int_or_none(data.get('created')),
|
||||
|
Loading…
Reference in New Issue
Block a user