Scrape and search localized results from Google, Bing, Baidu, Yahoo, Yandex, Ebay, Homedepot, youtube at scale using SerpApi.com
Project description
This Python package is meant to scrape and parse Google, Google Scholar, Bing, Baidu, Yandex, Yahoo, Ebay results using SerpApi. The following services are provided:
SerpApi provides a script builder to get you started quickly.
Installation
Compatible with Python 3.7+
pip install google-search-results
Quick start
from serpapi import GoogleSearch search = GoogleSearch({"q": "coffee", "location": "Austin,Texas", "api_key": "secretKey"}) result = search.get_dict()
This example runs a search about “coffee” using your secret api key.
The Serp API service (backend)
- searches on Google using the query: q = “coffee”
- parses the messy HTML responses
- return a standardizes JSON response
The GoogleSearch class
- Format the request
- Execute GET http request against Serp API service
- Parse JSON response into a dictionary
Et voila..
Alternatively, you can search:
- Bing using BingSearch class
- Baidu using BaiduSearch class
- Yahoo using YahooSearch class
- Ebay using EbaySearch class
- Yandex using YandexSearch class
- Home depot using HomeDepotSearch class
- GoogleScholar using GoogleScholarSearch class
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for google_search_results-2.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 021746fc21c0b0786e61a2d103d93a08c5c84e204d3f93cd4d589e0e117614a7 |
|
MD5 | 1840e92f24d08ed1758d119a0194b20d |
|
BLAKE2-256 | 91282ae0d0c1245849ba0e1affa63a275d41aad211e387f41f7efcf24a3a745e |