fix: Case where GJO/CSET-foretelll cookies are outdated and the program enters an infinite loop is now fixed.
This commit is contained in:
		
							parent
							
								
									843d69d937
								
							
						
					
					
						commit
						c46c0242a2
					
				|  | @ -126,6 +126,10 @@ async function fetchStats(questionUrl, cookie){ | |||
| } | ||||
| 
 | ||||
| function isEnd(html){ | ||||
|   if(html.includes("You need to sign in or sign up before continuing")){ | ||||
|     throw Error("You need to sign in or sign up before continuing") | ||||
|   } | ||||
| 
 | ||||
|   let isEndBool = html.includes("No questions match your filter") | ||||
|   if(isEndBool){ | ||||
|     //console.log(html)
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user