From: Remita Amine Date: Fri, 13 Oct 2017 08:41:57 +0000 (+0000) Subject: [spike] bypass geo restriction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c9bd503e7de28e9d4ba9ebee5e509a8abb90fc72;p=youtube-dl [spike] bypass geo restriction --- diff --git a/youtube_dl/extractor/spike.py b/youtube_dl/extractor/spike.py index c59896a17..a7b1b3b5f 100644 --- a/youtube_dl/extractor/spike.py +++ b/youtube_dl/extractor/spike.py @@ -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)