Преглед изворни кода

[PornHub] Remove extraneous modelhub login code

dirkf пре 10 месеци
родитељ
комит
e5bfed6c77
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      youtube_dl/extractor/pornhub.py

+ 0 - 2
youtube_dl/extractor/pornhub.py

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