summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FshareVn.py
diff options
context:
space:
mode:
authorGravatar godofdream <soilfiction@gmail.com> 2012-08-06 17:48:55 +0200
committerGravatar godofdream <soilfiction@gmail.com> 2012-08-06 17:48:55 +0200
commitc25be987a3a8d536b8323455828b83f66870d81d (patch)
tree2bd7a235925b36489dd72d259bf9d57ae10217bb /module/plugins/accounts/FshareVn.py
parentupdate czshare, warsever.cz (diff)
downloadpyload-c25be987a3a8d536b8323455828b83f66870d81d.tar.xz
update Freakshare, IcyFiles, Zippyshare, C1neon, FshareVn-Ac, Filefactory-Ac
Added BypassCaptcha - closed #647, #615, #639, #644, #562, #586, #642
Diffstat (limited to 'module/plugins/accounts/FshareVn.py')
-rw-r--r--module/plugins/accounts/FshareVn.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/FshareVn.py b/module/plugins/accounts/FshareVn.py
index 46d2d5166..e51009f50 100644
--- a/module/plugins/accounts/FshareVn.py
+++ b/module/plugins/accounts/FshareVn.py
@@ -24,7 +24,7 @@ import re
class FshareVn(Account):
__name__ = "FshareVn"
- __version__ = "0.01"
+ __version__ = "0.02"
__type__ = "account"
__description__ = """fshare.vn account plugin"""
__author_name__ = ("zoidberg")
@@ -47,13 +47,13 @@ class FshareVn(Account):
return {"validuntil": validuntil, "trafficleft": trafficleft}
def login(self, user, data, req):
- req.http.c.setopt(REFERER, "http://www.fshare.vn/login.php")
+ req.http.c.setopt(REFERER, "https://www.fshare.vn/login.php")
- html = req.load('http://www.fshare.vn/login.php', post = {
+ html = req.load('https://www.fshare.vn/login.php', post = {
"login_password" : data['password'],
"login_useremail" : user,
- "url_refe" : "http://www.fshare.vn/login.php"
+ "url_refe" : "https://www.fshare.vn/login.php"
}, referer = True, decode = True)
if not '<img alt="VIP"' in html:
- self.wrongPassword() \ No newline at end of file
+ self.wrongPassword()