mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 14:24:03 -07:00
Add support for thumbzilla
This commit is contained in:
parent
ea3c33cecb
commit
0b786108b5
1 changed files with 4 additions and 1 deletions
|
@ -265,7 +265,10 @@ class PornHubIE(PornHubBaseIE):
|
|||
|
||||
self._login(host)
|
||||
|
||||
self._set_cookie(host, 'accessAgeDisclaimerPH', '1')
|
||||
if 'thumbzilla.com' in host:
|
||||
self._set_cookie(host, 'accessAgeDisclaimerTZ', '1')
|
||||
else:
|
||||
self._set_cookie(host, 'accessAgeDisclaimerPH', '1')
|
||||
|
||||
def dl_webpage(platform):
|
||||
self._set_cookie(host, 'platform', platform)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue