> ## Content Index
> Fetch the complete content index at: https://serpapi.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Scrape Google Videos Results
- URL: https://serpapi.com/blog/how-to-scrape-google-videos-results/
- Published: 2023-11-07T08:30:01.000Z
- Updated: 2024-09-20T05:52:57.000Z
- Author: Andy L

Google is the most popular search engine and is the owner of YouTube. But YouTube is not the only video source for your search. Google Videos even has more videos from the internet.

![](https://lh7-us.googleusercontent.com/VMR0pGTNIh2VtYZepYcxZDt-XIt_xirX081lpqpsJ7V9XiM8jD9uw7_ylF36Sr-HgdBvE6RoIj2wN8mpZUA10YBJdKxkM7lKIC_EHaw7uU-faWZdeNo67nWBQdgAwmbRCOZ_KUHzySB8DHME8gpzS8k)

Scraping Google Video Results helps content creators and digital marketers use video to curate content for their websites, YouTube channels...

Also you can do trend analysis on popular topics, build a content recommendations system for videos.

With the trend of AI for everything, Google Videos is the most valuable source to train AI and produce awesome videos.

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2023/11/Screenshot-2023-11-06-at-21.59.32.png)

### Setting up a SerpApi account

[SerpApi](https://serpapi.com/) offers a free plan for newly created accounts. Head to the [sign-up](https://serpapi.com/users/sign%5Fup?plan=free) page to register an account and complete your first search with our [interactive playground](https://serpapi.com/playground?engine=google%5Fvideos). When you want to do more searches with us, please visit the [pricing page](https://serpapi.com/pricing).

Once you are familiar with all results, you can utilize SERP APIs using your [API Key](https://serpapi.com/manage-api-key).

![](https://lh7-us.googleusercontent.com/inKFFLAgaY3nvKfJUWBYy8CBnvAXzkgmLkaMC1x-w9fc9cUyOFjmL8Y7CtzOofXEI3JzR9V4WhT-C7bYues5ESL2JXUT50VnbLZ473mfA7xB9uoKwIbnMOnIyUuQP_06AovP99imQ8KGvyMlmZyexZc)

### Scrape your first Google Videos results with SerpApi

Head to the Google Videos Results from the [documentation](https://serpapi.com/google-videos-api) on [SerpApi](https://serpapi.com/) for details.

In this tutorial, we will scrape videos results when searching with the "football" keyword. The data contains: "position", "title", "link", "thumbnail", "description", "date", "duration" and more. You can also scrape more information with [SerpApi](https://serpapi.com/).

First, you need to install the [SerpApi client library](https://github.com/serpapi/google-search-results-python?ref=serpapi.com).

```python
pip install google-search-results
```

Set up the[ SerpApi](https://serpapi.com/?ref=serpapi.com)[ credentials](https://serpapi.com/manage-api-key?ref=serpapi.com) and search.

```python
from serpapi import GoogleSearch
import os, json

params = {
    'api_key': 'YOUR_API_KEY',         # your serpapi api
    'engine': 'google_videos',         # SerpApi search engine	
    'q': 'football'
}

```

To retrieve Google Videos Results for a given search term, you can use the following code:

```python
results = GoogleSearch(params).get_dict()['video_results']
```

You can store Videos Results JSON data in databases or export them to a CSV file.

```python
import csv

header = ['position', 'title', 'link', 'thumbnail', 'description', 'date', 'duration']

with open('google_videos.csv', 'w', encoding='UTF8', newline='') as f:
    writer = csv.writer(f)

    writer.writerow(header)

    for item in results:
        print(item)
        writer.writerow([item.get('position'), item.get('title'), item.get('link'), item.get('thumbnail'), item.get('snippet'), item.get('date'), item.get('duration')])

```

This example is using Python, but you can also use your all your favorite programming languages likes Ruby, NodeJS, Java, PHP....

If you have any questions, please feel free to [contact me](mailto:andy@serpapi.com).