mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix Strategy+Business
This commit is contained in:
parent
953c8e9395
commit
af23efd3d6
@ -33,7 +33,7 @@ class StrategyBusinessRecipe(BasicNewsRecipe):
|
|||||||
elif c.name.endswith('_password'):
|
elif c.name.endswith('_password'):
|
||||||
br[c.name] = self.password
|
br[c.name] = self.password
|
||||||
raw = br.submit().read()
|
raw = br.submit().read()
|
||||||
if '>Logout' not in raw:
|
if 'You have been logged in' not in raw:
|
||||||
raise ValueError('Failed to login, check your username and password')
|
raise ValueError('Failed to login, check your username and password')
|
||||||
return br
|
return br
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user