summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/EdiskCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/EdiskCz.py')
-rw-r--r--module/plugins/hoster/EdiskCz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/EdiskCz.py b/module/plugins/hoster/EdiskCz.py
index eb9338871..f8ccc972e 100644
--- a/module/plugins/hoster/EdiskCz.py
+++ b/module/plugins/hoster/EdiskCz.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class EdiskCz(SimpleHoster):
__name__ = "EdiskCz"
__type__ = "hoster"
- __version__ = "0.22"
+ __version__ = "0.23"
__pattern__ = r'http://(?:www\.)?edisk\.(cz|sk|eu)/(stahni|sk/stahni|en/download)/.+'
@@ -21,7 +21,7 @@ class EdiskCz(SimpleHoster):
OFFLINE_PATTERN = r'<h3>This file does not exist due to one of the following:</h3><ul><li>'
ACTION_PATTERN = r'/en/download/(\d+/.*\.html)'
- LINK_PATTERN = r'http://.*edisk\.cz.*\.html'
+ LINK_FREE_PATTERN = r'http://.*edisk\.cz.*\.html'
def setup(self):
@@ -47,7 +47,7 @@ class EdiskCz(SimpleHoster):
"action": action
})
- if not re.match(self.LINK_PATTERN, url):
+ if not re.match(self.LINK_FREE_PATTERN, url):
self.fail(_("Unexpected server response"))
self.download(url)