From c0ae75b45ca8b7bb30d702a6d0e09a5c1272a309 Mon Sep 17 00:00:00 2001 From: Niklas Date: Mon, 24 Dec 2018 13:56:42 +0100 Subject: [PATCH] [ard] don't stop extracting when possibly geoblocked --- youtube_dl/extractor/ard.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py index 7f09cd6ae..5b941dcf0 100644 --- a/youtube_dl/extractor/ard.py +++ b/youtube_dl/extractor/ard.py @@ -478,7 +478,6 @@ class ARDBetaMediathekIE(ARDBaseIE): subtitles = {} geoblocked = False for widget in data.values(): - if widget.get('_geoblocked') is True: geoblocked = True if '_duration' in widget: @@ -512,10 +511,6 @@ class ARDBetaMediathekIE(ARDBaseIE): format_url, video_id, 'mp4', m3u8_id='hls', fatal=False)) else: - # HTTP formats are not available when geoblocked is True, - # other formats are fine though - if geoblocked: - continue m = re.search(r'.*/([0-9]+)-[0-9]\..*$', format_url) width = int_or_none(m.group(1)) if m else None if width and width in self._FORMATS: