Просмотр исходного кода

[PornHub] Remove extraneous modelhub login code

dirkf 1 год назад
Родитель
Сommit
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
 
         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.