1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-12 04:25:12 +00: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

View File

@@ -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):