mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'nrcnextfixfalsepositive' of https://github.com/pft/calibre
This commit is contained in:
commit
667ca4adde
@ -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' 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