htmlunit Content Security Policy eval is blocked - Stack Overflow

I wrote a scraper on a javascript heavy website (written in angular) and it works perfectly. But now af

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

There 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

相关推荐

  • htmlunit Content Security Policy eval is blocked - Stack Overflow

    I wrote a scraper on a javascript heavy website (written in angular) and it works perfectly. But now af

    2小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信