mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -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,6 +265,9 @@ class PornHubIE(PornHubBaseIE):
|
||||||
|
|
||||||
self._login(host)
|
self._login(host)
|
||||||
|
|
||||||
|
if 'thumbzilla.com' in host:
|
||||||
|
self._set_cookie(host, 'accessAgeDisclaimerTZ', '1')
|
||||||
|
else:
|
||||||
self._set_cookie(host, 'accessAgeDisclaimerPH', '1')
|
self._set_cookie(host, 'accessAgeDisclaimerPH', '1')
|
||||||
|
|
||||||
def dl_webpage(platform):
|
def dl_webpage(platform):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue