1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:06:49 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
dirkf
4eb8534db0
Merge 38fce984f4 into c5098961b0 2024-10-14 13:23:48 +00:00

View File

@ -73,6 +73,8 @@ class PornHubBaseIE(InfoExtractor):
return
site = host.split('.', 1)[0]
if 'premium' not in site:
site = site.replace('model', 'porn')
# Both sites pornhub and pornhubpremium have separate accounts
# so there should be an option to provide credentials for both.