فهرست منبع

[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
 
         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.