diff --git a/youtube_dl/extractor/playerglobewien.py b/youtube_dl/extractor/playerglobewien.py index 91edfdb05..5733f0a8d 100755 --- a/youtube_dl/extractor/playerglobewien.py +++ b/youtube_dl/extractor/playerglobewien.py @@ -6,7 +6,7 @@ from .common import InfoExtractor class PlayerGlobeWienIE(InfoExtractor): - _VALID_URL = r'https?://player.(globe.wien|hader.at)/(globe-wien|hader)/(?P.*)' + _VALID_URL = r'https?://player.(?:globe.wien|hader.at)/(?:globe-wien|hader)/(?P.*)' _TESTS = [ { 'url': 'https://player.globe.wien/globe-wien/corona-podcast-teil-4', @@ -69,7 +69,7 @@ class PlayerGlobeWienIE(InfoExtractor): print(video_id) webpage = self._download_webpage(url, video_id) formats = [] - title = self._html_search_regex(r'(.+?)', webpage, 'title') + title = self._html_search_regex(r'(?P<title>.+?)', webpage, 'title', group='title') title = re.sub(r'^(Globe Wien VOD -|Hader VOD -)\s*', '', title) streamurl = self._download_json("https://player.globe.wien/api/playout?vodId=" + video_id,