[ParamountPlus] Fix geo verification (#711)

Closes #681 
Authored by: shirt
pull/719/head
shirt 3 years ago committed by GitHub
parent df2a5633da
commit 5fa206fb54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -90,7 +90,7 @@ class ParamountPlusIE(CBSBaseIE):
def _extract_video_info(self, content_id, mpx_acc=2198311517): def _extract_video_info(self, content_id, mpx_acc=2198311517):
items_data = self._download_json( items_data = self._download_json(
'https://www.paramountplus.com/apps-api/v2.0/androidtv/video/cid/%s.json' % content_id, 'https://www.paramountplus.com/apps-api/v2.0/androidtv/video/cid/%s.json' % content_id,
content_id, query={'locale': 'en-us', 'at': 'ABCqWNNSwhIqINWIIAG+DFzcFUvF8/vcN6cNyXFFfNzWAIvXuoVgX+fK4naOC7V8MLI='}) content_id, query={'locale': 'en-us', 'at': 'ABCqWNNSwhIqINWIIAG+DFzcFUvF8/vcN6cNyXFFfNzWAIvXuoVgX+fK4naOC7V8MLI='}, headers=self.geo_verification_headers())
asset_types = { asset_types = {
item.get('assetType'): { item.get('assetType'): {

Loading…
Cancel
Save