mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 05:02:50 +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',
|
'ext': 'mp4',
|
||||||
'title': 'Les Diables au coeur (épisode 2)',
|
'title': 'Les Diables au coeur (épisode 2)',
|
||||||
'description': 'Football - Diables Rouges',
|
'description': 'Football - Diables Rouges',
|
||||||
|
'subtitle': 'Football - Diables Rouges'
|
||||||
'duration': 3099,
|
'duration': 3099,
|
||||||
'upload_date': '20140425',
|
'upload_date': '20140425',
|
||||||
'timestamp': 1398456336,
|
'timestamp': 1398456336,
|
||||||
@ -89,6 +90,7 @@ class RTBFIE(InfoExtractor):
|
|||||||
'formats': formats,
|
'formats': formats,
|
||||||
'title': data['title'],
|
'title': data['title'],
|
||||||
'description': data.get('description') or data.get('subtitle'),
|
'description': data.get('description') or data.get('subtitle'),
|
||||||
|
'subtitle': data.get('subtitle'),
|
||||||
'thumbnails': thumbnails,
|
'thumbnails': thumbnails,
|
||||||
'duration': data.get('duration') or data.get('realDuration'),
|
'duration': data.get('duration') or data.get('realDuration'),
|
||||||
'timestamp': int_or_none(data.get('created')),
|
'timestamp': int_or_none(data.get('created')),
|
||||||
|
Loading…
Reference in New Issue
Block a user