mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-24 15:27:55 +01:00
playerglobewien - simplify title extractor
This commit is contained in:
parent
c3d2a27c8d
commit
a734819a6c
@ -69,7 +69,7 @@ class PlayerGlobeWienIE(InfoExtractor):
|
||||
print(video_id)
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
formats = []
|
||||
title = self._html_search_regex(r'<title>(?P<title>.+?)</title>', webpage, 'title', group='title')
|
||||
title = self._og_search_title(webpage)
|
||||
title = re.sub(r'^(Globe Wien VOD -|Hader VOD -)\s*', '', title)
|
||||
|
||||
streamurl = self._download_json("https://player.globe.wien/api/playout?vodId=" + video_id,
|
||||
|
Loading…
Reference in New Issue
Block a user