diff --git a/youtube_dl/extractor/redbulltv.py b/youtube_dl/extractor/redbulltv.py index 3b5651fb8..ec5574347 100644 --- a/youtube_dl/extractor/redbulltv.py +++ b/youtube_dl/extractor/redbulltv.py @@ -99,9 +99,12 @@ class RedBullTVIE(InfoExtractor): if i == 0: webpage = self._download_webpage(url, video_id) else: - webpage = self._download_webpage(url, video_id, note='Redownloading webpage') + webpage = self._download_webpage(url, video_id, + note='Redownloading webpage') # extract response cache - response_cache = json.loads(self._html_search_regex(r'', webpage, 'response-cache')) + response_cache = json.loads(self._html_search_regex( + r'', + webpage, 'response-cache')) except RegexNotFoundError: if i < tries - 1: self.to_screen('Waiting before redownloading webpage')