summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HighWayMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-14 11:07:15 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-14 11:07:15 +0200
commitd4015edc989be1b201adc859b762008b3469815a (patch)
tree70a3352b6d7d0dfef7a0797b3d25c3613696cb58 /module/plugins/hoster/HighWayMe.py
parent[PastebinCom] Update (diff)
parentImproved Login Check (diff)
downloadpyload-d4015edc989be1b201adc859b762008b3469815a.tar.xz
Merge branch 'pr/n1485_EvolutionClip' into stable
Conflicts: module/plugins/hoster/HighWayMe.py
Diffstat (limited to 'module/plugins/hoster/HighWayMe.py')
-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 837eb1ff3..9c79f8dc4 100644
--- a/module/plugins/hoster/HighWayMe.py
+++ b/module/plugins/hoster/HighWayMe.py
@@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import secondsToMidnight
class HighWayMe(MultiHoster):
__name__ = "HighWayMe"
__type__ = "hoster"
- __version__ = "0.10"
+ __version__ = "0.11"
__pattern__ = r'https?://.+high-way\.my'
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -24,7 +24,7 @@ class HighWayMe(MultiHoster):
def checkErrors(self):
- if '<valid>0</valid>' in self.html: #@NOTE: 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:: #@NOTE: 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()