Python 图像搜索包装器
我试图找到一种简单的方法来在 Python 中进行一些图像搜索,其返回结果数量比 Google 的 API 允许的数量要多,即 64。我花了一些时间尝试使用 Python Boss Mashup Framework,我仔细按照安装说明进行操作,但尝试进行任何搜索总是返回授权错误。
我基本上只想搜索一个术语并获取出现的前 100 个图像 URL。特定的搜索引擎并不重要。任何有关简单方法的建议将不胜感激!
I'm trying to figure out a straightforward way to do some image searching in Python with larger numbers of return results than Google's API allows, i.e. 64. I spent some time trying to use the Python Boss Mashup Framework, and I followed the install instructions carefully, but attempting to do any searches always returns authorization errors.
I basically just want to search on a term and grab the first, say, 100 image urls that come up. The particular search engine doesn't matter. Any advice on a simple way to do this would be appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定这是否足够简单,但您可以使用 Mechanize 直接访问 Google 图片搜索,点击下一个链接可获取更多结果等。它非常易于使用,几乎微不足道。
Not sure if this is simple enough, but you could use Mechanize to directly access Google Image search, click the next link for more results, etc. It's very easy to use, almost trivial.