summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/MegaDebridEu.py6
-rw-r--r--module/plugins/hoster/XFileSharingPro.py3
-rw-r--r--module/plugins/internal/UnRar.py4
3 files changed, 6 insertions, 7 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:
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py
index 04cb0acb2..e3765602b 100644
--- a/module/plugins/internal/UnRar.py
+++ b/module/plugins/internal/UnRar.py
@@ -30,10 +30,10 @@ from module.plugins.internal.AbstractExtractor import AbtractExtractor, WrongPas
class UnRar(AbtractExtractor):
__name__ = "UnRar"
- __version__ = "0.15"
+ __version__ = "0.16"
# there are some more uncovered rar formats
- re_version = re.compile(r"(UNRAR 5[\.\d]+ freeware)")
+ re_version = re.compile(r"(UNRAR 5[\.\d]+(.*?)freeware)")
re_splitfile = re.compile(r"(.*)\.part(\d+)\.rar$", re.I)
re_partfiles = re.compile(r".*\.(rar|r[0-9]+)", re.I)
re_filelist = re.compile(r"(.+)\s+(\d+)\s+(\d+)\s+")