Answer the question
In order to leave comments, you need to log in
Why does the parser bug on the captcha and give the same data?
Good afternoon. Please tell me what could be the reason for this behavior? I start parsing, filter to the 404 page - if there is true / if not, then false - then captcha. Everything works fine with 404, but with captcha it stupidly gives out past results, I have recursion - so it turns into an endless loop.
return document.querySelector('.main-wrap__content') ? company : !!document.querySelector('.page404-info')
// !!document.querySelector('.page404-info') - здесь true/false при этом если возвращает false мои дальнейшие проверки на массив попросту игнорируются
if(await data instanceof Array && await data.length)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question