Skip to content

Commit

Permalink
[spike] bypass geo restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Oct 13, 2017
1 parent 94a530c commit c9bd503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions youtube_dl/extractor/spike.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c9bd503

Please sign in to comment.