mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
7c19a4d545
commit
e9df183e76
@ -49,7 +49,6 @@ class HBR(BasicNewsRecipe):
|
||||
br['signin-form:username'] = self.username
|
||||
br['signin-form:password'] = self.password
|
||||
raw = br.submit().read()
|
||||
open('/t/crap.html', 'wb').write(raw)
|
||||
if '>Sign out<' not in raw:
|
||||
raise Exception('Failed to login, are you sure your username and password are correct?')
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user