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

Developed by

Hung Dinh

Hung Dinh

Maintained by Community

Crawl Video information from YouTube based on hashtags or keywords

0.0 (0)

Pricing

$10.00 / 1,000 results

2

10

3

Last modified

6 months ago

๐ŸŽฅ 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