mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-17 04:40:44 +02:00
[heise] Add support for description
This commit is contained in:
parent
5a8b77551d
commit
c121a75b36
@ -27,6 +27,7 @@ class HeiseIE(InfoExtractor):
|
|||||||
'format_id': 'mp4_720',
|
'format_id': 'mp4_720',
|
||||||
'timestamp': 1411812600,
|
'timestamp': 1411812600,
|
||||||
'upload_date': '20140927',
|
'upload_date': '20140927',
|
||||||
|
'description': 'In uplink-Episode 3.3 geht es darum, wie man sich von Cloud-Anbietern emanzipieren kann, worauf man beim Kauf einer Tastatur achten sollte und was Smartphones über uns verraten.',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,6 +43,7 @@ def _real_extract(self, url):
|
|||||||
'id': video_id,
|
'id': video_id,
|
||||||
'thumbnail': config.get('poster'),
|
'thumbnail': config.get('poster'),
|
||||||
'timestamp': parse_iso8601(get_meta_content('date', webpage)),
|
'timestamp': parse_iso8601(get_meta_content('date', webpage)),
|
||||||
|
'description': self._og_search_description(webpage),
|
||||||
}
|
}
|
||||||
|
|
||||||
title = get_meta_content('fulltitle', webpage)
|
title = get_meta_content('fulltitle', webpage)
|
||||||
|
Loading…
Reference in New Issue
Block a user