projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a530c
)
[spike] bypass geo restriction
author
Remita Amine
<remitamine@gmail.com>
Fri, 13 Oct 2017 08:41:57 +0000
(08:41 +0000)
committer
Remita Amine
<remitamine@gmail.com>
Fri, 13 Oct 2017 08:41:57 +0000
(08:41 +0000)
youtube_dl/extractor/spike.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spike.py
b/youtube_dl/extractor/spike.py
index c59896a17905c006eabb40271d846eebe7908a66..a7b1b3b5f3f83567554f42bd6536a65a70a9d99d 100644
(file)
--- 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)