Answer the question
In order to leave comments, you need to log in
How to implement such protection against a headless browser?
Recently, there are sites that somehow manage to block tools like Puppeteer in the bud! But how do they do it is not clear?
For example - https://www.expertflyer.com
If you try to access this site, you will see how the connection is instantly disconnected. Nothing is even loaded into DevTools!!!
Well, i.e. okay, if it was some kind of JS check by the code on the client. Right there, everything is torn stupidly. How the hell?
The user-agent has of course been changed. All methods of bypassing the detection known to me are also applied, but as I say, nothing is even loaded, it is stupidly torn. How did they do it? Is it possible to somehow investigate what is still loaded on the client at the first request (from DevTools it all disappears after the break)
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