diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 05:56:48 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 05:56:48 +0100 |
commit | b5a88f7283fbf3c6177ca4d87e27accc893ea0a8 (patch) | |
tree | febb5a97eb315defd593be162e129193a0494b7c /module/plugins/hoster/XFileSharingPro.py | |
parent | [XFileSharingPro] Improve hooks patterns (diff) | |
download | pyload-b5a88f7283fbf3c6177ca4d87e27accc893ea0a8.tar.xz |
Fix URL_REPLACEMENTS in XFSHoster plugins
Diffstat (limited to 'module/plugins/hoster/XFileSharingPro.py')
-rw-r--r-- | module/plugins/hoster/XFileSharingPro.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py index c3f8b6f41..0acad3dba 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.42" + __version__ = "0.43" __pattern__ = r'^unmatchable$' @@ -17,6 +17,9 @@ class XFileSharingPro(XFSHoster): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] + URL_REPLACEMENTS = [("/embed-", "/")] + + def _log(self, type, args): msg = " | ".join([str(a).strip() for a in args if a]) logger = getattr(self.log, type) |