logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 2c337f4e854f8bdf33f30d26b1a242b00a0eff93
parent bf6a74c620bd4d5726503c5302906bb36b009026
Author: Remita Amine <remitamine@gmail.com>
Date:   Fri,  8 Jan 2021 09:25:00 +0100

[spike] Update Paramount Network feed URL(closes #27715)

Diffstat:

Myoutube_dl/extractor/spike.py8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/spike.py b/youtube_dl/extractor/spike.py @@ -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*({.+})',