From c9bd503e7de28e9d4ba9ebee5e509a8abb90fc72 Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Fri, 13 Oct 2017 08:41:57 +0000 Subject: [PATCH] [spike] bypass geo restriction --- youtube_dl/extractor/spike.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/spike.py b/youtube_dl/extractor/spike.py index c59896a179..a7b1b3b5f3 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)