diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 12:54:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 12:54:15 +0100 |
commit | f47b649a005045e62bc34720c0d39c4cfb8edaa3 (patch) | |
tree | 2185e4bd6fa828386088076c97ff9b50c4fab592 /module/plugins/hooks/XFileSharingPro.py | |
parent | Fix URL_REPLACEMENTS in XFSHoster plugins (diff) | |
download | pyload-f47b649a005045e62bc34720c0d39c4cfb8edaa3.tar.xz |
[BasePlugin] Fix typo
Diffstat (limited to 'module/plugins/hooks/XFileSharingPro.py')
-rw-r--r-- | module/plugins/hooks/XFileSharingPro.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py index 47163d2fd..fd1fa760e 100644 --- a/module/plugins/hooks/XFileSharingPro.py +++ b/module/plugins/hooks/XFileSharingPro.py @@ -23,7 +23,7 @@ class XFileSharingPro(Hook): # event_list = ["pluginConfigChanged"] - regexp = {'hoster' : (r'https?://(?:www\.)?([\w^_]+(?:\.[a-zA-Z]{2,})+(?:\:\d+)?)/(?:embed-)?\w{12}(?:[\W_ ]|$)', + regexp = {'hoster' : (r'https?://(?:www\.)?([\w^_]+(?:\.[a-zA-Z]{2,})+(?:\:\d+)?)/(?:embed-)?\w{12}(?:\W|$)', r'https?://(?:[^/]+\.)?(%s)/(?:embed-)?\w+'), 'crypter': (r'https?://(?:www\.)?([\w^_]+(?:\.[a-zA-Z]{2,})+(?:\:\d+)?)/(?:user|folder)s?/\w+', r'https?://(?:[^/]+\.)?(%s)/(?:user|folder)s?/\w+')} |