1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

Added a new extractor for the german news site in south tyrol www.sdf.bz.it

This commit is contained in:
Markus Golser 2018-10-06 08:55:43 +02:00
parent 66a73678fc
commit b3d27fcc95

View File

@ -32,7 +32,6 @@ class SdfIE(InfoExtractor):
url = self._html_search_regex(r'(?s)file:\s\"(http.*?\.mp4)', webpage, 'url', fatal=True)
thumbnail = self._html_search_regex(r'(?s)image:\s\"(http.*?\.jpg)', webpage, 'thumbnail', fatal=True)
title = self._html_search_regex(r'(?s)\"og:title\"\scontent\=\"(.+?)\"\/>', webpage, 'title', default=video_id, fatal=False)
return (info_dict)
info_dict = {
'id': video_id,
'title': title,
@ -40,3 +39,5 @@ class SdfIE(InfoExtractor):
'format': 'mp4',
'thumbnail': thumbnail,
}
return (info_dict)