summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-26 04:27:41 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-26 04:27:41 +0100
commit136f63dc39603814b215606f888fb2e639021277 (patch)
tree1f81247c40e63af189533e36ff1429b854d15b15 /module/plugins/hoster
parent[AlldebridCom] Fix checkFile (diff)
downloadpyload-136f63dc39603814b215606f888fb2e639021277.tar.xz
Spare code fixes
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/RealdebridCom.py6
-rw-r--r--module/plugins/hoster/UnrestrictLi.py5
2 files changed, 7 insertions, 4 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py
index 0de78226d..eb27a26f9 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -14,9 +14,9 @@ from module.utils import parseFileSize
class RealdebridCom(MultiHoster):
__name__ = "RealdebridCom"
__type__ = "hoster"
- __version__ = "0.58"
+ __version__ = "0.59"
- __pattern__ = r'https?://(?:[^/]*\.)?real-debrid\..*'
+ __pattern__ = r'https?://(?:[^/]+\.)?real-debrid\..*'
__description__ = """Real-Debrid.com hoster plugin"""
__license__ = "GPLv3"
@@ -41,7 +41,7 @@ class RealdebridCom(MultiHoster):
def handlePremium(self):
data = json_loads(self.load("https://real-debrid.com/ajax/unrestrict.php",
get={'lang' : "en",
- 'link' : quote(self.pyfile.url, ""),
+ 'link' : self.pyfile.url,
'password': self.getPassword(),
'time' : int(time() * 1000)}))
diff --git a/module/plugins/hoster/UnrestrictLi.py b/module/plugins/hoster/UnrestrictLi.py
index 7535d7b41..1476efa96 100644
--- a/module/plugins/hoster/UnrestrictLi.py
+++ b/module/plugins/hoster/UnrestrictLi.py
@@ -29,7 +29,7 @@ def secondsToMidnight(gmt=0):
class UnrestrictLi(MultiHoster):
__name__ = "UnrestrictLi"
__type__ = "hoster"
- __version__ = "0.17"
+ __version__ = "0.18"
__pattern__ = r'https?://(?:[^/]*\.)?(unrestrict|unr)\.li'
@@ -38,6 +38,9 @@ class UnrestrictLi(MultiHoster):
__authors__ = [("stickell", "l.stickell@yahoo.it")]
+ LOGIN_ACCOUNT = False
+
+
def setup(self):
self.chunkLimit = 16
self.resumeDownload = True