From a734819a6c3d25e4b20aae848f1d0a46d4994893 Mon Sep 17 00:00:00 2001 From: Oneboy1979 Date: Sun, 12 Apr 2020 10:14:26 +0200 Subject: [PATCH] playerglobewien - simplify title extractor --- youtube_dl/extractor/playerglobewien.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/playerglobewien.py b/youtube_dl/extractor/playerglobewien.py index 5733f0a8d..2ca930e4c 100755 --- a/youtube_dl/extractor/playerglobewien.py +++ b/youtube_dl/extractor/playerglobewien.py @@ -69,7 +69,7 @@ class PlayerGlobeWienIE(InfoExtractor): print(video_id) webpage = self._download_webpage(url, video_id) formats = [] - title = self._html_search_regex(r'(?P<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,