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/hoster/XFileSharingPro.py | |
parent | Fix missing urlparse import (diff) | |
download | pyload-f74309f89923317eeaaca31d74dff10590ed3d40.tar.xz |
[XFSHoster] Use URL_REPLACEMENTS to clean url
Diffstat (limited to 'module/plugins/hoster/XFileSharingPro.py')
-rw-r--r-- | module/plugins/hoster/XFileSharingPro.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py index 060f05992..c3f8b6f41 100644 --- a/module/plugins/hoster/XFileSharingPro.py +++ b/module/plugins/hoster/XFileSharingPro.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo class XFileSharingPro(XFSHoster): __name__ = "XFileSharingPro" __type__ = "hoster" - __version__ = "0.41" + __version__ = "0.42" __pattern__ = r'^unmatchable$' @@ -17,9 +17,6 @@ class XFileSharingPro(XFSHoster): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - URL_REPLACEMENTS = [(r'/embed-(\w{12}).*', r'/\1')] #: support embedded files - - def _log(self, type, args): msg = " | ".join([str(a).strip() for a in args if a]) logger = getattr(self.log, type) |