Remove all params from stream url

pull/14186/head
CasperMcFadden95 4 weeks ago committed by GitHub
parent 1928fac879
commit bd72d47bf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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})

Loading…
Cancel
Save