]>
jfr.im git - yt-dlp.git/blob - yt_dlp/extractor/bibeltv.py
1 from .common
import InfoExtractor
4 class BibelTVIE(InfoExtractor
):
5 _VALID_URL
= r
'https?://(?:www\.)?bibeltv\.de/mediathek/videos/(?:crn/)?(?P<id>\d+)'
7 'url': 'https://www.bibeltv.de/mediathek/videos/329703-sprachkurs-in-malaiisch',
8 'md5': '252f908192d611de038b8504b08bf97f',
12 'title': 'Sprachkurs in Malaiisch',
13 'description': 'md5:3e9f197d29ee164714e67351cf737dfe',
14 'timestamp': 1608316701,
15 'uploader_id': '5840105145001',
16 'upload_date': '20201218',
19 'url': 'https://www.bibeltv.de/mediathek/videos/crn/326374',
20 'only_matching': True,
22 BRIGHTCOVE_URL_TEMPLATE
= 'http://players.brightcove.net/5840105145001/default_default/index.html?videoId=ref:%s'
24 def _real_extract(self
, url
):
25 crn_id
= self
._match
_id
(url
)
26 return self
.url_result(
27 self
.BRIGHTCOVE_URL_TEMPLATE
% crn_id
, 'BrightcoveNew')