1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 17:04:33 +01:00

playerglobewien - fix flake error with whitespaces

This commit is contained in:
Stefan 2020-04-10 21:27:50 +02:00
parent 09531ab29e
commit d4a419700c

View File

@ -38,7 +38,7 @@ class PlayerGlobeWienIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
formats = []
title = self._html_search_regex(r'<title>(.+?)</title>', webpage, 'title')
title = re.sub(r'^Globe Wien VOD -\s*','',title)
title = re.sub(r'^Globe Wien VOD -\s*', '', title)
stream_url = self._download_webpage("https://player.globe.wien/api/playout?vodId=" + video_id, video_id)