Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #290 from chrox/fix_288

fix parsing hpts and hptsh for login form
  • Loading branch information...
commit 8489a87d044e164edb321ba9acca8d4631de3dca 2 parents 7ea2255 + 6d746d5
@VitaliyRodnenko authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 geeknote/
4 geeknote/
@@ -190,8 +190,8 @@ def login(self):
{'oauth_token': self.tmpOAuthToken})
# parse hpts and hptsh from page content
- hpts ='.*"hpts":"(.*?)"',
- hptsh ='.*"hptsh":"(.*?)"',
+ hpts ='.*\("hpts"\)\.value.*?"(.*?)"',
+ hptsh ='.*\("hptsh"\)\.value.*?"(.*?)"',
if response.status != 200:
logging.error("Unexpected response status "
Please sign in to comment.
Something went wrong with that request. Please try again.