From 1d3d579c2142f69831b6ae140e1d8e824e07fa0e Mon Sep 17 00:00:00 2001 From: zhong-yiyu <53254770+zhong-yiyu@users.noreply.github.com> Date: Sat, 15 Jul 2023 21:54:19 +0100 Subject: [PATCH] [ie/pornhub] Update access cookies for UK (#7591) Closes #7590 Authored by: zhong-yiyu --- 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 f08414030..999d038d4 100644 --- a/yt_dlp/extractor/pornhub.py +++ b/yt_dlp/extractor/pornhub.py @@ -62,6 +62,7 @@ class PornHubBaseIE(InfoExtractor): def _set_age_cookies(self, host): self._set_cookie(host, 'age_verified', '1') self._set_cookie(host, 'accessAgeDisclaimerPH', '1') + self._set_cookie(host, 'accessAgeDisclaimerUK', '1') self._set_cookie(host, 'accessPH', '1') def _login(self, host):