summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UnrestrictLi.py
diff options
context:
space:
mode:
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"})