Fetch Branding

by jotunweb

Apify Actor for extracting branding information from websites including logos, colors, metadata, and social links.

830 runs
44 users
Try This Actor

Opens on Apify.com

About Fetch Branding

Apify Actor for extracting branding information from websites including logos, colors, metadata, and social links.

What does this actor do?

Fetch Branding is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Website Branding Extractor An Apify Actor that extracts comprehensive branding information from websites including logos, colors, metadata, and social media links. ## Features - Logo Extraction: Favicon, apple-touch-icon, Open Graph images, and common logo selectors - Color Detection: CSS custom properties and inline style colors - Metadata Extraction: Meta tags, Open Graph, and Twitter Card data - Social Media Links: Detects links to major social platforms - Error Handling: Comprehensive error reporting for failed extractions - Configurable Output: Filter results by success status and limit processing ## How it works 1. Input Processing: Accepts URLs via startUrls array 2. HTTP Fetching: Uses Axios with timeout, user-agent spoofing, and redirect handling 3. HTML Parsing: Parses content with Cheerio for data extraction 4. Multi-faceted Extraction: Simultaneously extracts logos, colors, metadata, and social links 5. Result Filtering: Applies configurable filters based on success status and limits 6. Data Storage: Stores results in Apify Dataset with multiple view options ## Input Configuration The Actor accepts the following input parameters: ### URLs - Start URLs: Array of websites to extract branding from ### Extraction Options - Extract Logos: Enable/disable logo detection (default: true) - Extract Colors: Enable/disable color extraction (default: true) - Extract Metadata: Enable/disable metadata extraction (default: true) - Extract Social Links: Enable/disable social media link detection (default: true) ### Request Configuration - Timeout: Request timeout in milliseconds (default: 30000) - Max Redirects: Maximum redirects to follow (default: 5) - User Agent: Custom user agent string ### Output Options - Include Failed URLs: Include failed extractions in output (default: true) - Max Results: Maximum number of URLs to process (default: 1000) - Only Successful: Filter to only successful extractions (default: false) ### Proxy Configuration - Proxy Configuration: Optional Apify proxy settings ## Output Data Each extracted result contains: json { "url": "https://example.com", "success": true, "title": "Example Site", "description": "An example website description", "logo": [ { "url": "https://example.com/favicon.ico", "type": "favicon", "sizes": "32x32" } ], "colors": { "primary": "#007bff", "secondary": "#6c757d" }, "metadata": { "keywords": "example, website", "ogTitle": "Example Site", "twitterCard": "summary" }, "socialLinks": [ "https://twitter.com/example", "https://facebook.com/example" ], "timestamp": "2024-01-01T12:00:00.000Z" } For failed extractions, the result includes an error field with details about the failure. ## Dataset Views The Actor provides multiple views of the extracted data: - Overview: Basic results without error details - Detailed: Complete data including errors and metadata - Logo Assets: Individual logo entries for analysis - Failed Extractions: Only URLs that failed processing ## Getting Started ### Local Development bash # Install dependencies npm install # Run locally apify run # Build for production npm run build ### Deploy to Apify 1. Connect Git Repository: - Go to Actor creation page - Click Link Git Repository 2. Push from Local Machine: bash # Login to Apify apify login # Deploy Actor apify push ## Supported Platforms ### Logo Sources - Favicon links - Apple touch icons - Open Graph images - Common logo selectors (alt/src/class containing "logo") ### Social Media Platforms - Facebook - Twitter/X - Instagram - LinkedIn - YouTube - TikTok - Pinterest - Snapchat - GitHub - GitLab - BitBucket ### Metadata Standards - Basic HTML meta tags - Open Graph protocol - Twitter Cards - Viewport and charset information ## Error Handling The Actor provides detailed error messages for common scenarios: - Network Issues: Domain not found, connection refused - HTTP Errors: 403 (forbidden), 404 (not found), 429 (rate limited), 5xx (server errors) - Timeouts: Request timeout handling - Invalid URLs: URL format validation ## Technical Details - Framework: Built with Apify SDK and TypeScript - HTTP Client: Axios with comprehensive error handling - HTML Parser: Cheerio for server-side DOM manipulation - Rate Limiting: 1-second delay between requests for multiple URLs - URL Resolution: Automatic conversion of relative URLs to absolute URLs ## Resources - Apify SDK Documentation - Apify Platform Documentation - Actor Console - Join Developer Community

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Fetch Branding now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
jotunweb
Pricing
Paid
Total Runs
830
Active Users
44
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support