From 276f7904d552d9575babaca4ae5bcfde620a6f5b Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 3 Sep 2013 14:29:50 +0200 Subject: Megashares: fix suggested in #234 --- module/plugins/hoster/MegasharesCom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/MegasharesCom.py') diff --git a/module/plugins/hoster/MegasharesCom.py b/module/plugins/hoster/MegasharesCom.py index 3a66f356a..7d089f717 100644 --- a/module/plugins/hoster/MegasharesCom.py +++ b/module/plugins/hoster/MegasharesCom.py @@ -25,7 +25,7 @@ class MegasharesCom(SimpleHoster): __name__ = "MegasharesCom" __type__ = "hoster" __pattern__ = r"http://(\w+\.)?megashares.com/.*" - __version__ = "0.22" + __version__ = "0.23" __description__ = """megashares.com plugin - free only""" __author_name__ = ("zoidberg") __author_mail__ = ("zoidberg@mujmail.cz") @@ -67,7 +67,7 @@ class MegasharesCom(SimpleHoster): random_num = re.search(self.REACTIVATE_NUM_PATTERN, self.html).group(1) verifyinput = self.decryptCaptcha( - "http://megashares.com/index.php?secgfx=gfx&random_num=%s" % random_num) + "http://d01.megashares.com/index.php?secgfx=gfx&random_num=%s" % random_num) self.logInfo("Reactivating passport %s: %s %s" % (passport_num, random_num, verifyinput)) url = "http://d01.megashares.com%s&rs=check_passport_renewal" % request_uri + \ @@ -111,4 +111,4 @@ class MegasharesCom(SimpleHoster): self.download(download_url) -getInfo = create_getInfo(MegasharesCom) \ No newline at end of file +getInfo = create_getInfo(MegasharesCom) -- cgit v1.2.3