Browse Source

[ie/pornhub] Update access cookies for UK (#7591)

Closes #7590
Authored by: zhong-yiyu
zhong-yiyu 1 year ago
parent
commit
1d3d579c21
1 changed files with 1 additions and 0 deletions
  1. 1 0
      yt_dlp/extractor/pornhub.py

+ 1 - 0
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):