Skip to content

Commit

Permalink
[spike] Update Paramount Network feed URL(closes #27715)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Jan 8, 2021
1 parent bf6a74c commit 2c337f4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion youtube_dl/extractor/spike.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@ class ParamountNetworkIE(MTVServicesInfoExtractor):
},
}]

_FEED_URL = 'http://www.paramountnetwork.com/feeds/mrss/'
_FEED_URL = 'http://feeds.mtvnservices.com/od/feed/intl-mrss-player-feed'
_GEO_COUNTRIES = ['US']

def _get_feed_query(self, uri):
return {
'arcEp': 'paramountnetwork.com',
'mgid': uri,
}

def _extract_mgid(self, webpage):
root_data = self._parse_json(self._search_regex(
r'window\.__DATA__\s*=\s*({.+})',
Expand Down

0 comments on commit 2c337f4

Please sign in to comment.