[ie] Do not smuggle http_headers
See: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3ch3-jhc6-5r8x Authored by: coletdjnz
This commit is contained in:
parent
d4f14a72dc
commit
f04b5bedad
9 changed files with 19 additions and 15 deletions
|
|
@ -106,4 +106,4 @@ class EmbedlyIE(InfoExtractor):
|
|||
return self.url_result(src, YoutubeTabIE)
|
||||
return self.url_result(smuggle_url(
|
||||
urllib.parse.unquote(traverse_obj(qs, ('src', 0), ('url', 0))),
|
||||
{'http_headers': {'Referer': url}}))
|
||||
{'referer': url}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue