mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix false positive in nrcnext
This commit is contained in:
parent
7028b7ab18
commit
d297106ed5
@ -39,7 +39,7 @@ class NRCNext(BasicNewsRecipe):
|
||||
br['password'] = self.password
|
||||
response2 = br.submit()
|
||||
raw = response2.get_data()
|
||||
if 'ingelogd' not in raw: # in body class
|
||||
if 'niet ingelogd' not in raw: # in body class
|
||||
raise ValueError('Failed to login, check username and password')
|
||||
epubraw = None
|
||||
for today in (date.today(), date.today() - timedelta(days=1),):
|
||||
|
Loading…
x
Reference in New Issue
Block a user