aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshirt <2660574+shirt-dev@users.noreply.github.com>2021-08-16 02:43:24 -0400
committerGitHub <noreply@github.com>2021-08-16 12:13:24 +0530
commit5fa206fb54ee0ce2d41a06ca3e008bf57239ec58 (patch)
treeb9b5c702149c564e8ee4978e6c9efffc9bda5f93
parentdf2a5633daf17d32e4d8aa437f2f39d9ce454b6b (diff)
downloadhypervideo-pre-5fa206fb54ee0ce2d41a06ca3e008bf57239ec58.tar.lz
hypervideo-pre-5fa206fb54ee0ce2d41a06ca3e008bf57239ec58.tar.xz
hypervideo-pre-5fa206fb54ee0ce2d41a06ca3e008bf57239ec58.zip
[ParamountPlus] Fix geo verification (#711)
Closes #681 Authored by: shirt
-rw-r--r--yt_dlp/extractor/paramountplus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/paramountplus.py b/yt_dlp/extractor/paramountplus.py
index e1d479588..338b84d5b 100644
--- a/yt_dlp/extractor/paramountplus.py
+++ b/yt_dlp/extractor/paramountplus.py
@@ -90,7 +90,7 @@ class ParamountPlusIE(CBSBaseIE):
def _extract_video_info(self, content_id, mpx_acc=2198311517):
items_data = self._download_json(
'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 = {
item.get('assetType'): {