使用无头铬作为一般命令行网络实用程序 - 我自己写了自己的(“ Chromate”),但很好奇存在的
我写了一个bibtex引文发现工具(“ toobib”,
I wrote a bibtex citation discovery tool ( " TooBib ", outdated doc draft
) that required Chrome emulation for some sites. As wget does not support
some SSL schemes, headless chrome seemed like a good choice but I did not
want to get and learn a bunch of things like Selenium or nodejs etc( I think I
had an issue installing Puppeteer ) . It turned out to be
easy to invoke if from system() calls via c++ and talk directly to the debug
port with websockets. As it can execute arbitrary javascript code, it is now
quite flexible although maybe more cumbersome than things like wget.
Does something like this already exist in simple form?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论