Skip to content

A feature-rich command-line audio/video downloader

[utils] Add `Sec-Fetch-Mode` to `std_headers`

pukkandand14cbdd92d8b
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',
}