projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6a74c
)
[spike] Update Paramount Network feed URL(closes #27715)
author
Remita Amine
<remitamine@gmail.com>
Fri, 8 Jan 2021 08:25:00 +0000
(09:25 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Fri, 8 Jan 2021 08:26:12 +0000
(09:26 +0100)
youtube_dl/extractor/spike.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spike.py
b/youtube_dl/extractor/spike.py
index aabff7a3ce78d76b9aec3772a4e88a5bf802d192..4c5e3f7c25d4e78e461e2ad29e266cab5e0041b4 100644
(file)
--- 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*({.+})',