Browse Source

[PornHub] Remove extraneous modelhub login code

dirkf 10 tháng trước cách đây
mục cha
commit
e5bfed6c77
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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.