diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-04 23:42:46 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-04 23:42:46 +0100 |
commit | f74309f89923317eeaaca31d74dff10590ed3d40 (patch) | |
tree | 9958a3ed001d54238b9fb8efcbd4516384b596fe /module/plugins/hooks | |
parent | Fix missing urlparse import (diff) | |
download | pyload-f74309f89923317eeaaca31d74dff10590ed3d40.tar.xz |
[XFSHoster] Use URL_REPLACEMENTS to clean url
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/XFileSharingPro.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py index 6e9962f3c..ddc20b98a 100644 --- a/module/plugins/hooks/XFileSharingPro.py +++ b/module/plugins/hooks/XFileSharingPro.py @@ -24,9 +24,9 @@ class XFileSharingPro(Hook): # event_list = ["pluginConfigChanged"] regexp = {'hoster' : (r'https?://(?:www\.)?([\w^_]+(?:\.[a-zA-Z]{2,})+(?:\:\d+)?)/(?:embed-)?\w{12}', - r'https?://(?:[^/]+\.)?(%s)/(?:embed-)?\w{12}\W?'), - 'crypter': (r'https?://(?:www\.)?([\w^_]+(?:\.[a-zA-Z]{2,})+(?:\:\d+)?)/(?:user|folder)s?/\w+', - r'https?://(?:[^/]+\.)?(%s)/(?:user|folder)s?/\w+')} + r'https?://(?:[^/]+\.)?(%s)/(?:embed-)?\w{12}\W?'), + 'crypter': (r'https?://(?:www\.)?([\w^_]+(?:\.[a-zA-Z]{2,})+(?:\:\d+)?)/(?:user|folder)s?/\w+', + r'https?://(?:[^/]+\.)?(%s)/(?:user|folder)s?/\w+')} HOSTER_LIST = [#WORKING HOSTERS: "eyesfile.ca", "file4safe.com", "fileband.com", "filedwon.com", "filevice.com", "hostingbulk.com", |