summaryrefslogtreecommitdiffstats
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-07 20:32:29 +0200
commit0a1653bb122326044a7763db945348853cf00e4d (patch)
treeea79e824aef500739dd6a15dd54eb86c968ceed7
parentMerge pull request #241 from Apollo-Hartigan/WindowsPhoneToastNotify (diff)
downloadpyload-0a1653bb122326044a7763db945348853cf00e4d.tar.xz
Megashares: fix suggested in #234
(cherry picked from commit 276f7904d552d9575babaca4ae5bcfde620a6f5b)
-rw-r--r--pyload/plugins/hoster/MegasharesCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/hoster/MegasharesCom.py b/pyload/plugins/hoster/MegasharesCom.py
index 3a66f356a..7d089f717 100644
--- a/pyload/plugins/hoster/MegasharesCom.py
+++ b/pyload/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)