1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-30 14:42:58 +01: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(
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)