mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 06:14:05 -07:00
[PATCH] Set accessPH
cookie
Co-authored-by: bashonly <bashonly@bashonly.com> Co-authored-by: Noah <nkempers@outlook.de>
This commit is contained in:
parent
aefed08d32
commit
60ac3a6f85
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue