Pornhub Scraper (search) avatar

Pornhub Scraper (search)

Try for free

Pay $0.90 for 1,000 videos

Go to Store
Pornhub Scraper (search)

Pornhub Scraper (search)

spider.engine/pornhub-search-scraper
Try for free

Pay $0.90 for 1,000 videos

Designed to extract video light metadata from Pornhub search queries. This scraper enables users to gather structured data, such as video titles, durations, view counts, ratings, and uploader details, making it ideal for content analysis, trend monitoring, and research purposes.

Developer
Maintained by Community

Actor Metrics

  • 6 monthly users

  • No reviews yet

  • No bookmarks yet

  • >99% runs succeeded

  • Created in Feb 2025

  • Modified a month ago

Pornhub Search Scraper

Overview

The Pornhub Search Scraper is a tool designed to extract video metadata from Pornhub search queries. This scraper enables users to gather structured data, such as video titles, durations, view counts, ratings, and uploader details, making it ideal for content analysis, trend monitoring, and research purposes.

Features

With the Pornhub Search Scraper, you can:

  • Search by Query: Provide search keywords to retrieve videos related to a specific topic.
  • Choose Export Format: Select JSON, CSV, or HTML for the output.
  • Use Proxies: Optionally route requests through a proxy to avoid rate limits.

How to Use

1. Input Parameters

To configure the scraper, use the following options:

1{
2    "searchQuery": ["blonde"],
3    "exportFormat": "JSON",
4    "proxy": {
5        "useApifyProxy": true
6    }
7}

Input Fields Explained:

ParameterTypeDescription
searchQueryarrayList of search keywords to find videos.
exportFormatstringOutput format: JSON, CSV, or HTML.
proxy.useApifyProxybooleanIf true, the scraper will use Apify's proxy service.

2. Running the Scraper

Case 1: Using a Full Search Query URL

  • Provide a complete Pornhub search URL instead of keywords.
  • Example input:
    1{
    2    "searchQuery": ["https://www.pornhub.com/video/search?search=blonde"],
    3    "exportFormat": "JSON",
    4    "proxy": {
    5        "useApifyProxy": true
    6    }
    7}
  • The scraper will extract search results from the provided URL without modifications.

Case 2: Using Keywords

  • Enter one or more keywords as the search query.
  • Example input:
    1{
    2    "searchQuery": ["blonde"],
    3    "exportFormat": "JSON",
    4    "proxy": {
    5        "useApifyProxy": false
    6    }
    7}
  • The scraper will generate a search URL based on the given keywords and retrieve the relevant video results.

3. Output Format

The scraper provides structured video data, such as:

1{
2    "input_url": "https://www.pornhub.com/search?search=blonde",
3    "url": "https://www.pornhub.com/view_video.php?viewkey=64fe7e5bd5f32",
4    "data_video_id": "439173361",
5    "title": "Big-tailed blonde gets excited at the club",
6    "image": {
7        "href": "https://ei.phncdn.com/videos/.../image.jpg",
8        "title": "Video thumbnail"
9    },
10    "duration": "5:04",
11    "count": "28.2M",
12    "rating_percent": 83,
13    "uploaded": "55 years ago",
14    "user_info": {
15        "username": "Deny Barbie",
16        "user_url": "https://www.pornhub.com/model/deny-barbie"
17    }
18}

Use Cases

  • SEO & Content Research: Analyze trending keywords and video metadata.
  • Market Analysis: Gather insights into popular videos and content trends.
  • Data Science: Use structured video data for machine learning or analytics.
  • Academic Research: Study online content trends and user engagement.

Disclaimer

This scraper is intended for lawful and ethical use. Users must comply with Pornhub's terms of service and applicable laws regarding data collection. The developers do not take responsibility for misuse of this tool.

Contributions

Contributions and feature suggestions are welcome! Open an issue if you encounter bugs or need enhancements.