aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/duboku.py
diff options
context:
space:
mode:
authorbashonly <bashonly@bashonly.com>2023-08-16 18:42:48 -0500
committerSimon Sawicki <contact@grub4k.xyz>2023-11-14 22:04:25 +0100
commitf04b5bedad7b281bee9814686bba1762bae092eb (patch)
treec18255b7b8d917a21ef1d4aa1fd66b62806fed8c /yt_dlp/extractor/duboku.py
parentd4f14a72dc1dd79396e0e80980268aee902b61e4 (diff)
[ie] Do not smuggle `http_headers`
See: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3ch3-jhc6-5r8x Authored by: coletdjnz
Diffstat (limited to 'yt_dlp/extractor/duboku.py')
-rw-r--r--yt_dlp/extractor/duboku.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/duboku.py b/yt_dlp/extractor/duboku.py
index fb0546cae..fc9564cef 100644
--- a/yt_dlp/extractor/duboku.py
+++ b/yt_dlp/extractor/duboku.py
@@ -138,7 +138,7 @@ class DubokuIE(InfoExtractor):
# of the video.
return {
'_type': 'url_transparent',
- 'url': smuggle_url(data_url, {'http_headers': headers}),
+ 'url': smuggle_url(data_url, {'referer': webpage_url}),
'id': video_id,
'title': title,
'series': series_title,