summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UnrestrictLi.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 22:42:32 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 22:42:32 +0100
commit1f8ae39acba53cebb46331692515f2ed42f8e12d (patch)
tree7a9ddaf8cb6bda98f5c619764bf30a81540a2251 /module/plugins/hoster/UnrestrictLi.py
parent[FilerNet] Fix https://github.com/pyload/pyload/issues/1201 (diff)
downloadpyload-1f8ae39acba53cebb46331692515f2ed42f8e12d.tar.xz
Update plugins after SimpleHoster changes
Diffstat (limited to 'module/plugins/hoster/UnrestrictLi.py')
-rw-r--r--module/plugins/hoster/UnrestrictLi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/UnrestrictLi.py b/module/plugins/hoster/UnrestrictLi.py
index 0a5c2081f..8205ba0d3 100644
--- a/module/plugins/hoster/UnrestrictLi.py
+++ b/module/plugins/hoster/UnrestrictLi.py
@@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import secondsToMidnight
class UnrestrictLi(MultiHoster):
__name__ = "UnrestrictLi"
__type__ = "hoster"
- __version__ = "0.21"
+ __version__ = "0.22"
__pattern__ = r'https?://(?:www\.)?(unrestrict|unr)\.li/dl/[\w^_]+'
@@ -67,8 +67,8 @@ class UnrestrictLi(MultiHoster):
self.setNameSize()
- def checkFile(self):
- super(UnrestrictLi, self).checkFile()
+ def checkFile(self, rules={}):
+ super(UnrestrictLi, self).checkFile(rules)
if self.getConfig('history'):
self.load("https://unrestrict.li/history/", get={'delete': "all"})