]> jfr.im git - yt-dlp.git/blobdiff - youtube_dlc/extractor/spike.py
Update to ytdl-2021.01.16
[yt-dlp.git] / youtube_dlc / extractor / spike.py
index 3cee331f6a74efdd341426d9d8f5b035e41e7186..4180e71efa5eb045b25be3b45258dbb2ad4b73dd 100644 (file)
@@ -50,9 +50,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, url):
         root_data = self._parse_json(self._search_regex(
             r'window\.__DATA__\s*=\s*({.+})',