admin管理员组文章数量:1026223
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.
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.
本文标签: htmlunit Content Security Policy eval is blockedStack Overflow
版权声明:本文标题:htmlunit Content Security Policy eval is blocked - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745636396a2160475.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论