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)