From 6f38df31b477cf5ea3c8f91207452e3a4e8d5aa6 Mon Sep 17 00:00:00 2001 From: beacdeac Date: Sat, 7 Feb 2026 03:41:56 +0700 Subject: [PATCH] [ie/pornhub] Fix extractor (#15858) Closes #15827 Authored by: beacdeac --- yt_dlp/extractor/pornhub.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/pornhub.py b/yt_dlp/extractor/pornhub.py index cdfa3f1b0f..5144f14093 100644 --- a/yt_dlp/extractor/pornhub.py +++ b/yt_dlp/extractor/pornhub.py @@ -506,6 +506,7 @@ class PornHubIE(PornHubBaseIE): 'cast': ({find_elements(attr='data-label', value='pornstar')}, ..., {clean_html}), }), 'subtitles': subtitles, + 'http_headers': {'Referer': f'https://www.{host}/'}, }, info)