Youtube Crawler (Pay Per Result) avatar
Youtube Crawler (Pay Per Result)
Deprecated

Pricing

$10.00 / 1,000 results

Go to Apify Store
Youtube Crawler (Pay Per Result)

Youtube Crawler (Pay Per Result)

Deprecated

Crawl Video information from YouTube based on hashtags or keywords

Pricing

$10.00 / 1,000 results

Rating

0.0

(0)

Developer

Hung Dinh

Hung Dinh

Maintained by Community

Actor stats

2

Bookmarked

10

Total users

3

Monthly active users

9 months ago

Last modified

Share

πŸŽ₯ YouTube Video Crawler

An Actor that helps you crawl video information from YouTube based on hashtags or keywords, using YouTube Data API v3.

✨ Features

  • πŸ” Search videos by hashtags or keywords
  • 🏷️ Filter results using specific keywords in title and description
  • πŸ“Š Collect detailed information about each video:
    • πŸ“ Title and description
    • πŸ–ΌοΈ Thumbnail images (multiple sizes)
    • πŸ†” Video ID and URL
    • πŸ“… Published date
    • πŸ‘€ View count
    • πŸ‘ Like count
    • πŸ’¬ Comment count
  • βš™οΈ Configurable search options:
    • Search in video titles
    • Search in video descriptions
    • Limit number of results per query

πŸ“₯ Input

The Actor accepts the following input parameters:

{
"queries": ["#trending", "funny cats"], // Required: List of hashtags or keywords to search
"keywords": ["cute", "amazing"], // Optional: Keywords to filter results
"maxResults": 50, // Optional: Maximum videos per query (default: 50)
"searchInTitle": true, // Optional: Search keywords in titles (default: true)
"searchInDescription": false // Optional: Search keywords in descriptions (default: false)
}

πŸ“€ Output

Each video will be returned as a separate item with the following structure:

{
"query": "#trending", // Original search query
"video": {
"title": "Video title",
"description": "Video description",
"defaultThumbnail": "High quality thumbnail URL",
"videoId": "Video ID",
"videoUrl": "https://www.youtube.com/watch?v=...",
"publishedAt": "2024-01-01T00:00:00Z",
"statistics": {
"viewCount": 1234,
"likeCount": 123,
"commentCount": 12
}
},
"matchedKeywords": ["cute", "amazing"] // Keywords found in title/description
}

πŸ“ Notes

  • πŸ”‘ YouTube API Key is required and must be set in environment variables
  • ⚠️ YouTube API has quota limits:
    • Each search request costs 100 units
    • Getting video details costs 1 unit per video
  • 🚫 Some videos may have restricted statistics
  • βœ… The Actor handles errors gracefully and continues processing

πŸ’‘ Usage Examples

  1. Basic search with hashtags:
{
"queries": ["#shorts", "#trending"],
"maxResults": 10
}
  1. Search with keyword filtering:
{
"queries": ["funny cats", "cute puppies"],
"keywords": ["adorable", "hilarious"],
"maxResults": 20,
"searchInTitle": true,
"searchInDescription": true
}
  1. Search in specific content:
{
"queries": ["cooking recipes"],
"keywords": ["easy", "quick"],
"searchInTitle": true,
"searchInDescription": false,
"maxResults": 50
}

πŸ“Š Output Table

The results are displayed in a table with the following columns:

  • πŸ” Search Query
  • πŸ“ Title
  • πŸ†” Video ID
  • πŸ”— Video URL
  • πŸ–ΌοΈ Thumbnail
  • πŸ“„ Description
  • πŸ“… Published At
  • πŸ‘€ Views
  • πŸ‘ Likes
  • πŸ’¬ Comments
  • 🏷️ Matched Keywords