From: Sergey M․ Date: Sat, 26 Sep 2015 13:57:17 +0000 (+0600) Subject: [bbc] Skip mediaselection on gelocation error (Closes #6983) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ee3d5a6d476ccca626bd4878e2cf871373fe5ca9;p=youtube-dl [bbc] Skip mediaselection on gelocation error (Closes #6983) --- diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index 42526357a..c1692b6c5 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -294,7 +294,7 @@ class BBCCoUkIE(InfoExtractor): return self._download_media_selector_url( mediaselector_url % programme_id, programme_id) except BBCCoUkIE.MediaSelectionError as e: - if e.id == 'notukerror': + if e.id in ('notukerror', 'geolocation'): last_exception = e continue self._raise_extractor_error(e)