1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 01:08:10 +00:00

[bbc] Skip mediaselection on gelocation error (Closes #6983)

This commit is contained in:
Sergey M․ 2015-09-26 19:57:17 +06:00
parent 46fde8a1a2
commit ee3d5a6d47

View file

@ -294,7 +294,7 @@ class BBCCoUkIE(InfoExtractor):
return self._download_media_selector_url( return self._download_media_selector_url(
mediaselector_url % programme_id, programme_id) mediaselector_url % programme_id, programme_id)
except BBCCoUkIE.MediaSelectionError as e: except BBCCoUkIE.MediaSelectionError as e:
if e.id == 'notukerror': if e.id in ('notukerror', 'geolocation'):
last_exception = e last_exception = e
continue continue
self._raise_extractor_error(e) self._raise_extractor_error(e)