aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-26 19:57:17 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-26 19:57:17 +0600
commitee3d5a6d476ccca626bd4878e2cf871373fe5ca9 (patch)
tree6ce20ed0b79521f2e6da3671f36504f46299204a
parent46fde8a1a2e72bca3c22b6de4db06490fb90b59a (diff)
[bbc] Skip mediaselection on gelocation error (Closes #6983)
-rw-r--r--youtube_dl/extractor/bbc.py2
1 files changed, 1 insertions, 1 deletions
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)