summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar EvolutionClip <evolutionclip@live.de> 2015-06-11 22:16:16 +0200
committerGravatar EvolutionClip <evolutionclip@live.de> 2015-06-11 22:16:16 +0200
commitdd6fa1acf4bda63b909aa0377163349113167ce7 (patch)
tree16f73c0f5d97a92d84cab3612c9c5acf3e3eb148 /module/plugins/hoster
parentFixed Syntax Error (diff)
downloadpyload-dd6fa1acf4bda63b909aa0377163349113167ce7.tar.xz
Improved Login Check
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/HighWayMe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/HighWayMe.py b/module/plugins/hoster/HighWayMe.py
index e7b3fd739..a80ad6a0e 100644
--- a/module/plugins/hoster/HighWayMe.py
+++ b/module/plugins/hoster/HighWayMe.py
@@ -9,7 +9,7 @@
+class HighWayMe(MultiHoster):
+ __name__ = "HighWayMe"
+ __type__ = "hoster"
-+ __version__ = "0.08"
++ __version__ = "0.09"
+
+ __pattern__ = r'https?://.+high-way\.my'
+ __config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -24,7 +24,7 @@
+
+
+ def checkErrors(self):
-+ if '<valid>0</valid>' in self.html: #This is not working. It should by if 302 Moved Temporarily then ... But I don't now how to implement it.
++ if self.html.get('code') == 302: #This is not working. It should by if 302 Moved Temporarily then ... But I don't now how to implement it.
+ self.account.relogin(self.user)
+ self.retry()
+