From bd72d47bf26ef921033d4eca4ce2a6770736c045 Mon Sep 17 00:00:00 2001 From: CasperMcFadden95 <145611964+CasperMcFadden95@users.noreply.github.com> Date: Fri, 29 Aug 2025 18:11:41 +0000 Subject: [PATCH] Remove all params from stream url --- yt_dlp/extractor/shahid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/shahid.py b/yt_dlp/extractor/shahid.py index ad5656c190..c3684d1dec 100644 --- a/yt_dlp/extractor/shahid.py +++ b/yt_dlp/extractor/shahid.py @@ -55,8 +55,8 @@ class ShahidBaseIE(InfoExtractor): if not self.get_param('allow_unplayable_formats') and playout.get('drm', False): self.report_drm(video_id) - # https://docs.aws.amazon.com/mediapackage/latest/ug/manifest-filtering.html - return re.sub(r'aws\.manifestfilter=[\w:;,-]+&?', '', playout['url']) + # Removes quality limiting parameters + return self.remove_params(playout.get('url')) def _get_product_info(self, product_id): return self._call_api('product/id', product_id, {'id': product_id})