1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 19:15:17 +08:00

[spike] bypass geo restriction

This commit is contained in:
Remita Amine 2017-10-13 08:41:57 +00:00
parent 94a530c6cb
commit c9bd503e7d

View File

@ -44,6 +44,7 @@ class SpikeIE(MTVServicesInfoExtractor):
_FEED_URL = 'http://www.spike.com/feeds/mrss/'
_MOBILE_TEMPLATE = 'http://m.spike.com/videos/video.rbml?id=%s'
_CUSTOM_URL_REGEX = re.compile(r'spikenetworkapp://([^/]+/[-a-fA-F0-9]+)')
_GEO_COUNTRIES = ['US']
def _extract_mgid(self, webpage):
mgid = super(SpikeIE, self)._extract_mgid(webpage)