mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
oops
This commit is contained in:
parent
af26482b6d
commit
114c364f03
@ -48,8 +48,7 @@ def login_parser(username, password):
|
||||
html = BeautifulSoup(s.get(constant.FAV_URL).content, 'html.parser')
|
||||
count = html.find('span', attrs={'class': 'count'})
|
||||
if not count:
|
||||
logger.error("Can't get your number of favorited doujins. Did the login
|
||||
failed?")
|
||||
logger.error("Can't get your number of favorited doujins. Did the login failed?")
|
||||
|
||||
count = int(count.text.strip('(').strip(')'))
|
||||
if count == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user