mirror of https://github.com/yt-dlp/yt-dlp.git
[ParamountPlus] Fix geo verification (#711)
Closes #681 Authored by: shirt
This commit is contained in:
parent
df2a5633da
commit
5fa206fb54
|
@ -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…
Reference in New Issue