summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegasharesCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-09-03 14:29:50 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-09-03 14:29:50 +0200
commit276f7904d552d9575babaca4ae5bcfde620a6f5b (patch)
tree8ad12d4c421cef4e9132a0d60e61d7ef97522171 /module/plugins/hoster/MegasharesCom.py
parentMerge pull request #241 from Apollo-Hartigan/WindowsPhoneToastNotify (diff)
downloadpyload-276f7904d552d9575babaca4ae5bcfde620a6f5b.tar.xz
Megashares: fix suggested in #234
Diffstat (limited to 'module/plugins/hoster/MegasharesCom.py')
-rw-r--r--module/plugins/hoster/MegasharesCom.py6
1 files changed, 3 insertions, 3 deletions
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)