From e5bfed6c77b47bdf07713d8d88c8b21247999ae7 Mon Sep 17 00:00:00 2001 From: dirkf Date: Tue, 15 Oct 2024 21:11:28 +0100 Subject: [PATCH] [PornHub] Remove extraneous modelhub login code --- youtube_dl/extractor/pornhub.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index 7d8275e41..d36dd4112 100644 --- a/youtube_dl/extractor/pornhub.py +++ b/youtube_dl/extractor/pornhub.py @@ -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.