简体   繁体   English

如何使用python使用“ google”“ bing”“ yahoo”进行搜索?

[英]how to do searches with “google” “bing” “yahoo” using python?

I've been googling for APIs to use but they all seem to be deprecated or not in use anymore. 我一直在搜寻要使用的API,但它们似乎都已被弃用或不再使用。

Is there any other way to do searches and get the results? 还有其他方法可以进行搜索并获得结果吗?

My objective is to "recreate" the blind search but instead of the user entering terms, I will have a set of terms predefined to search using python. 我的目标是“重新创建” 盲目搜索,但是我将为用户定义一组使用python进行搜索的术语,而不是用户输入术语。

Thanks for any input! 感谢您的输入!

Google are still supporting the custom search API [up to 100 queries/day for free] Google仍支持自定义搜索API [每天多达100个查询,免费]

Yahoo has the Yahoo Search BOSS API . Yahoo具有Yahoo Search BOSS API

Bing got the Bing Developer Search API , which is free Bing获得了Bing Developer Search API ,它是免费的

Also: 也:
If you have some corpurus of your own, you might also want to know about pyLucne , which implements the most of search engine's functionality for you, but you will have to create your own index, unlike the existing APIs, and is is unlikely you will be able to index the web with it... so for very large scale, I'd stick with yahoo/google/bing apis. 如果您有自己的语料库,您可能还想了解pyLucne ,它可以为您实现大多数搜索引擎的功能,但是与现有的API不同,您将必须创建自己的索引,并且不太可能能够使用它为网络编制索引...因此,如果要进行大规模的扩展,我会坚持使用yahoo / google / bing api。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python SQLite如何使用'?'进行部分搜索? 占位符? - Python SQLite how do you do partial searches using '?' placeholders? 如何在不使用任何雅虎 api 的情况下使用 Python 对雅虎搜索引擎进行基本查询? - How to do a basic query on yahoo search engine using Python without using any yahoo api? 用python打开Goog​​le搜索 - opening google searches with python 如何使用 python(最好是 BS4)从 Google Images(或 bing)中找到图像的 url? - How can I find the url of an image from Google Images (or bing) using python (and preferably BS4)? 使用 Python 和 BeautifulSoup 为多个页面生成 Yahoo 和 Bing Scraping 的 URL - Generating URL for Yahoo and Bing Scraping for multiple pages with Python and BeautifulSoup 使用 Python 和 BeautifulSoup 为 Yahoo 新闻和 Bing 新闻生成 URL - Generating URL for Yahoo news and Bing news with Python and BeautifulSoup 使用python中的bing或google API获取位置坐标 - Get location coordinates using bing or google API in python 如何使用 Python/BeautifulSoup 从 Yahoo Finance 中提取特定字段 - How do I extract a specific field from Yahoo Finance using Python/BeautifulSoup 如何在谷歌上抓取相关搜索? - How to scrape related searches on google? 在Python中使用Cookie来存储搜索 - Using cookies with python to store searches
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM