aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-10-13 08:41:57 +0000
committerRemita Amine <remitamine@gmail.com>2017-10-13 08:41:57 +0000
commitc9bd503e7de28e9d4ba9ebee5e509a8abb90fc72 (patch)
tree69dcbeba79e4bb98cbe7374e59cdfa716a4dc0ca /youtube_dl/extractor
parent94a530c6cb65d555d8e3289de155c2f8f9326dea (diff)
[spike] bypass geo restriction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/spike.py1
1 files changed, 1 insertions, 0 deletions
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)