1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-20 01:42:50 +01:00

[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 @@ def _real_initialize(self):
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):