diff options
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/MegaDebridEu.py | 6 | ||||
-rw-r--r-- | module/plugins/hoster/XFileSharingPro.py | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/module/plugins/hoster/MegaDebridEu.py b/module/plugins/hoster/MegaDebridEu.py index 73c553896..46eb0eb11 100644 --- a/module/plugins/hoster/MegaDebridEu.py +++ b/module/plugins/hoster/MegaDebridEu.py @@ -15,7 +15,7 @@ ############################################################################ import re -from urllib import unquote +from urllib import unquote_plus from module.plugins.Hoster import Hoster from module.common.json_layer import json_loads @@ -23,7 +23,7 @@ from module.common.json_layer import json_loads class MegaDebridEu(Hoster): __name__ = "MegaDebridEu" - __version__ = "0.2" + __version__ = "0.3" __type__ = "hoster" __pattern__ = r'^https?://(?:w{3}\d+\.mega-debrid.eu|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/download/file/[^/]+/.+$' __description__ = """mega-debrid.eu hoster plugin""" @@ -35,7 +35,7 @@ class MegaDebridEu(Hoster): def getFilename(self, url): try: - return unquote(url.rsplit("/", 1)[1]) + return unquote_plus(url.rsplit("/", 1)[1]) except IndexError: return "" diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py index 01defdfed..f69283c47 100644 --- a/module/plugins/hoster/XFileSharingPro.py +++ b/module/plugins/hoster/XFileSharingPro.py @@ -37,7 +37,7 @@ class XFileSharingPro(SimpleHoster): __name__ = "XFileSharingPro" __type__ = "hoster" __pattern__ = r'^unmatchable$' - __version__ = "0.30" + __version__ = "0.31" __description__ = """XFileSharingPro base hoster plugin""" __author_name__ = ("zoidberg", "stickell") __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it") @@ -157,7 +157,6 @@ class XFileSharingPro(SimpleHoster): return found.group(1) def handlePremium(self): - self.html = self.load(self.pyfile.url) self.html = self.load(self.pyfile.url, post=self.getPostParameters()) found = re.search(self.DIRECT_LINK_PATTERN, self.html) if not found: |