1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 02:16:51 +01:00

[PornHub] Remove extraneous modelhub login code

This commit is contained in:
dirkf 2024-10-15 21:11:28 +01:00 committed by GitHub
parent 38fce984f4
commit e5bfed6c77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,8 +73,6 @@ 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.