A feature-rich command-line audio/video downloader
[bbc] Skip mediaselection on gelocation error (Closes #6983)
Sergey M․ee3d5a6d476c
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.pyindex 42526357af..c1692b6c59 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 = econtinueself._raise_extractor_error(e)