I wrote a scraper on a javascript heavy website (written in angular) and it works perfectly. But now after a few months I get error
SEVERE: ERROR Error: Uncaught (in promise)
My suspect is when I check the website using browser and in console, it seems Content Security Policy eval is blocked
Is there a way to still use com.gargoylesoftware.htmlunit or is it selenium the way to go?
I wrote a scraper on a javascript heavy website (written in angular) and it works perfectly. But now after a few months I get error
SEVERE: ERROR Error: Uncaught (in promise)
My suspect is when I check the website using browser and in console, it seems Content Security Policy eval is blocked
Is there a way to still use com.gargoylesoftware.htmlunit or is it selenium the way to go?
Share Improve this question asked Nov 17, 2024 at 12:04 jonathan tanjonathan tan 631 silver badge9 bronze badges1 Answer
Reset to default 0There is always a way :-) but maybe sometimes a long one. Please open an issue on github and provide as much information as possible and i will try to help.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745636397a4637420.html
评论列表(0条)