Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omkarcloud/google-scraper

Google Scraper helps you collect search results from Google.
https://github.com/omkarcloud/google-scraper

google-bulk-scrape google-crawler google-data-scrape google-news-scraper google-scholar-scrapper google-scraper google-scraper-github google-scrapers google-scraping google-search-api google-search-results google-search-scraper google-search-using-python google-serp-api google-serp-scraper google-serp-scraping how-to-scrape-data-from-google-using-python scrape-google serp-api serpapi

Last synced: about 1 month ago
JSON representation

Google Scraper helps you collect search results from Google.

Awesome Lists containing this project

README

        

![Google Scraper Featured Image](https://raw.githubusercontent.com/omkarcloud/google-scraper/master/images/google-scraper-featured-image.png)


✨ Google Scraper 🚀


💦 Google Scraper helps you collect search results from Google. 💦




(Programming Language - Python 3)




google-scraper forks


Repo stars


google-scraper License


issues



View



Open in Gitpod



---

## Disclaimer for Google Scraper Project

> By using Google Scraper, you agree to comply with all applicable local and international laws related to data scraping, copyright, and privacy. The developers of Google Scraper will not be held liable for any misuse of this software. It is the user's sole responsibility to ensure adherence to all relevant laws regarding data scraping, copyright, and privacy, and to use Google Scraper in an ethical and legal manner, in line with both local and international regulations.

We take concerns related to the Google Scraper Project very seriously. If you have any inquiries or issues, please contact Chetan Jain at [[email protected]](mailto:[email protected]). We will take prompt and necessary action in response to your emails.

## 👉 Explore Our Other Awesome Products

- ✅ [Botasaurus](https://github.com/omkarcloud/botasaurus): The All-in-One Web Scraping Framework with Anti-Detection, Parallelization, Asynchronous, and Caching Superpowers.

---

Google Scraper helps you collect search results from Google.

## 🚀 Getting Started

1️⃣ **Clone the Magic 🧙‍♀:**
```shell
git clone https://github.com/omkarcloud/google-scraper
cd google-scraper
```
2️⃣ **Install Dependencies 📦:**
```shell
python -m pip install -r requirements.txt
```
3️⃣ **Let the Scraping Begin 😎**:
```shell
python main.py
```

Find your data in the `output` directory.

![Google Scraper CSV Result](https://raw.githubusercontent.com/omkarcloud/google-scraper/master/images/google-scraper-csv-result.png)

*Note: If you don't have Python installed. Follow this Simple FAQ [here](https://github.com/omkarcloud/google-scraper/blob/master/advanced.md#-i-dont-have-python-installed-how-can-i-run-the-scraper) and you will have your Google data in next 5 Minutes*

## 🤔 FAQs

### ❓ How to Scrape Google?

1. Open the `main.py` file.
2. Update the `queries` list with the locations you are interested in. For example:

```python
queries = [
"Mango",
"Watermelon",
]

Google.search(queries, max=10)
```

3. Run it.

```bash
python main.py
```

Then find your data in the `output` directory.

### ❓ How to Scrape More Google Search Results Using Your Google API?

To scrape additional data, follow these steps to use our Google API. You can make 50 requests for free:

1. Sign up on RapidAPI by visiting [this link](https://rapidapi.com/auth/sign-up).

![Sign Up on RapidAPI](https://raw.githubusercontent.com/omkarcloud/assets/master/images/sign-up.png)

2. Then, subscribe to our Free Plan by visiting [this link](https://rapidapi.com/Chetan11dev/api/google-scraper/pricing).

![Subscribe to Free Plan](https://raw.githubusercontent.com/omkarcloud/assets/master/images/free-subscription.png)

3. Now, copy the API key.

![Copy the API Key](https://raw.githubusercontent.com/omkarcloud/assets/master/images/api-key.png)

4. Use it in the scraper as follows:
```python
Google.search("Orange", max=10, key="YOUR_API_KEY")
```

5. Run the script, and you'll find your data in the `output` folder.
```bash
python main.py
```

The first 50 requests are free. After that, you can upgrade to the Pro Plan, which will get you 1000 requests for just $9.

### ❓ How did you build it?

We used Botasaurus, It's an All-in-One Web Scraping Framework with Anti-Detection, Parallelization, Asynchronous, and Caching Superpowers.

Botasaurus helped us cut down the development time by 50% and helped us focus only on the core extraction logic of the scraper.

If you are a Web Scraper, you should learn about Botasaurus [here](https://github.com/omkarcloud/botasaurus), because Botasaurus will save you countless hours in your life as a Web Scraper.



botasaurus

### ❓ Need More Help or Have Additional Questions?

For further help, contact us on WhatsApp. We'll be happy to help you out.

[![Contact Us on WhatsApp about Google Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://api.whatsapp.com/send?phone=918295042963&text=Hi,%20I%20would%20like%20to%20learn%20more%20about%20your%20products.)

## Love It? [Star It! ⭐](https://github.com/omkarcloud/google-scraper/stargazers)

## Made with ❤️ using [Botasaurus Web Scraping Framework](https://github.com/omkarcloud/botasaurus)