mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	oops
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user