summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FshareVn.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-06-26 13:35:29 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-06-26 13:35:29 +0200
commit3dec02dd4cf0346f840ef2f859bfe7a00f0b448d (patch)
tree4a351c0972ed616f065abd62b86716772d5c4988 /module/plugins/accounts/FshareVn.py
parent[Filefactory] Improved free links detect (diff)
downloadpyload-3dec02dd4cf0346f840ef2f859bfe7a00f0b448d.tar.xz
[Fshare] Fixed #651
Diffstat (limited to 'module/plugins/accounts/FshareVn.py')
-rw-r--r--module/plugins/accounts/FshareVn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FshareVn.py b/module/plugins/accounts/FshareVn.py
index cb2ad700c..61122b996 100644
--- a/module/plugins/accounts/FshareVn.py
+++ b/module/plugins/accounts/FshareVn.py
@@ -26,7 +26,7 @@ from module.plugins.Account import Account
class FshareVn(Account):
__name__ = "FshareVn"
- __version__ = "0.06"
+ __version__ = "0.07"
__type__ = "account"
__description__ = """Fshare.vn account plugin"""
__author_name__ = ("zoidberg", "stickell")
@@ -63,10 +63,10 @@ class FshareVn(Account):
self.html = req.load('https://www.fshare.vn/login.php', post={
"login_password": data['password'],
"login_useremail": user,
- "url_refe": "https://www.fshare.vn/login.php"
+ "url_refe": "http://www.fshare.vn/index.php"
}, referer=True, decode=True)
- if not '<img alt="VIP"' in self.html:
+ if not re.search(r'<img\s+alt="VIP"', self.html):
self.wrongPassword()
def getTrafficLeft(self):