aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/cybrary.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/cybrary.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/cybrary.py')
-rw-r--r--yt_dlp/extractor/cybrary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/cybrary.py b/yt_dlp/extractor/cybrary.py
index aeffe93b4..c4c78ee1b 100644
--- a/yt_dlp/extractor/cybrary.py
+++ b/yt_dlp/extractor/cybrary.py
@@ -105,7 +105,7 @@ class CybraryIE(CybraryBaseIE):
'chapter': module.get('title'),
'chapter_id': str_or_none(module.get('id')),
'title': activity.get('title'),
- 'url': smuggle_url(f'https://player.vimeo.com/video/{vimeo_id}', {'http_headers': {'Referer': 'https://api.cybrary.it'}})
+ 'url': smuggle_url(f'https://player.vimeo.com/video/{vimeo_id}', {'referer': 'https://api.cybrary.it'})
}