summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XFileSharingPro.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-04 23:42:46 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-04 23:42:46 +0100
commitf74309f89923317eeaaca31d74dff10590ed3d40 (patch)
tree9958a3ed001d54238b9fb8efcbd4516384b596fe /module/plugins/hoster/XFileSharingPro.py
parentFix missing urlparse import (diff)
downloadpyload-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.py5
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)