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

Closes #7590
Authored by: zhong-yiyu
This commit is contained in:
zhong-yiyu 2023-07-15 21:54:19 +01:00 committed by GitHub
parent 42ded0a429
commit 1d3d579c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,7 @@ class PornHubBaseIE(InfoExtractor):
def _set_age_cookies(self, host): def _set_age_cookies(self, host):
self._set_cookie(host, 'age_verified', '1') self._set_cookie(host, 'age_verified', '1')
self._set_cookie(host, 'accessAgeDisclaimerPH', '1') self._set_cookie(host, 'accessAgeDisclaimerPH', '1')
self._set_cookie(host, 'accessAgeDisclaimerUK', '1')
self._set_cookie(host, 'accessPH', '1') self._set_cookie(host, 'accessPH', '1')
def _login(self, host): def _login(self, host):