问HN:现在你们是如何通过编程方式搜索网络的?
很久以来,我第一次需要以编程方式查询搜索引擎,发现大多数搜索引擎都阻止使用 curl 等工具。<p>所以,我的问题很简单:你们是如何解决这个问题的?我尝试过使用 searxng,效果一般,但似乎为了这个偶尔需要的功能,运行一个完整的独立服务有点过于繁重。我还没有尝试使用需要 API 密钥的服务,因为我不确定该选择哪个方向或哪个服务。<p>我只是想先在这里询问一下。
查看原文
For the first time in a long time, I need to query a search engine programmatically, and found that most of them block the use of curl, etc.<p>So, my question is simple: how do you solve the problem? I've tried searxng with mediocre success, but it seems a bit heavy to have to be running a complete separate service for this one thing that I only need every once in a while. I haven't tried using a service that requires an API key, simply because I'm not sure which direction to go or who to go with.<p>Just thought I would ask here first.