[PATCH] Set accessPH cookie

Co-authored-by: bashonly <bashonly@bashonly.com>
Co-authored-by: Noah <nkempers@outlook.de>
This commit is contained in:
ache 2023-04-26 04:54:31 +02:00
commit 60ac3a6f85
No known key found for this signature in database
GPG key ID: E15360EAE11E2A34

View file

@ -66,6 +66,7 @@ class PornHubBaseIE(InfoExtractor):
# of guessing the right cookie out of an IP we don't currently have.
self._set_cookie(host, 'age_verified', '1')
self._set_cookie(host, 'accessAgeDisclaimerPH', '1')
self._set_cookie(host, 'accessPH', '1')
def _login(self, host):
if self._logged_in: