From d14cbdd92d8bbb9deedc77da80085b0280ae52bb Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 20 Jan 2022 20:21:54 +0530 Subject: [PATCH] [utils] Add `Sec-Fetch-Mode` to `std_headers` Closes #2187 --- yt_dlp/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index dbf17f1c99..d58c68653d 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -145,6 +145,7 @@ std_headers = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate', 'Accept-Language': 'en-us,en;q=0.5', + 'Sec-Fetch-Mode': 'same-origin', }