Browse Source

[spike] bypass geo restriction

master-ytdl-org
Remita Amine 7 years ago
parent
commit
c9bd503e7d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/spike.py

+ 1
- 0
youtube_dl/extractor/spike.py View 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)


Loading…
Cancel
Save