summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/TwoSharedCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/TwoSharedCom.py')
-rw-r--r--module/plugins/hoster/TwoSharedCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/TwoSharedCom.py b/module/plugins/hoster/TwoSharedCom.py
index adfd44d6f..6b755219a 100644
--- a/module/plugins/hoster/TwoSharedCom.py
+++ b/module/plugins/hoster/TwoSharedCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class TwoSharedCom(SimpleHoster):
__name__ = "TwoSharedCom"
__type__ = "hoster"
- __version__ = "0.11"
+ __version__ = "0.12"
__pattern__ = r'http://(?:www\.)?2shared\.com/(account/)?(download|get|file|document|photo|video|audio)/.*'
@@ -30,7 +30,7 @@ class TwoSharedCom(SimpleHoster):
def handleFree(self):
m = re.search(self.LINK_PATTERN, self.html)
if m is None:
- self.parseError('Download link')
+ self.error('Download link')
link = m.group(1)
self.logDebug("Download URL %s" % link)