]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[spike] bypass geo restriction
authorRemita Amine <remitamine@gmail.com>
Fri, 13 Oct 2017 08:41:57 +0000 (08:41 +0000)
committerRemita Amine <remitamine@gmail.com>
Fri, 13 Oct 2017 08:41:57 +0000 (08:41 +0000)
youtube_dl/extractor/spike.py

index c59896a17905c006eabb40271d846eebe7908a66..a7b1b3b5f3f83567554f42bd6536a65a70a9d99d 100644 (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)