[heise] Add support for description

This commit is contained in:
Philipp Hagemeister 2014-09-28 10:49:12 +02:00
parent 5a8b77551d
commit c121a75b36

View file

@ -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)