Website Checker avatar

Website Checker

Try for free

No credit card required

View all Actors
Website Checker

Website Checker

lukaskrivka/website-checker
Try for free

No credit card required

Check any website you plan to scrape for expected Compute unit consumption, anti-scraping software, and reliability.

Do you want to learn more about this Actor?

Get a demo

Website Checker

Website checker is a simple actor that allows you to scan any website for performance and blocking using various scraping methods as Cheerio, Puppeteer and Playwright.

Features

The actor provides these useful features out of the box:

  • Collects response status codes
  • Recognizes the most common captchas
  • Saves HTML snapshots and screenshots (if Puppeteer or Playwright is chosen)
  • Enables choosing between Cheerio (plain HTTP) and Puppeteer/Playwright (browser) scraper
  • Enables choosing different browsers for Playwright - Chrome, Firefox and Webkit (Safari)
  • Enables re-scraping start URLs or enqueueing with a familiar link selector + pseudo URLs system
  • Handles different failure states like timeouts and network errors
  • Enables basic proxy and browser configuration

How to use

The most common use-case is to do a quick check on how aggressively the target site is blocking. In that case just supply a start URL, ideally a category one or product one. You can either set replicateStartUrls or add enqueueing with linkSelector + pseudoUrls, both are good options to test different proxies.

You can pick any combination of run options and the checker will spawn runner actor for every combination of scraping tool & proxies and then combine the results into single output.

In the end you will get a simple statistics about the blocking rate. It is recommended to check a few screenshots just to make sure the actor correctly recognized the page status. You can get to the detailed output (per URL) via KV store or dataset (the KV output sorts by response status while dataset is simply ordered by scraping order).

Multiple URLs and configurations

Website checker doesn't have any limitation of how many websites and configs you can check. For each website, it will run each config. You just need to set a reasonable maxConcurrentDomainsChecked so that all parallel runs fit into your total memory (4 GB for Cheerio and 8 GB for Puppeteer/Playwright checks).

Input

Please follow the actor's input page for a detailed explanation. Most input fields have reasonable defaults.

Example output

Simple output

1{
2    "timeouted": 0,
3    "failedToLoadOther": 9,
4    "accessDenied": 0,
5    "recaptcha": 0,
6    "distilCaptcha": 24,
7    "hCaptcha": 0, 
8    "statusCodes": {
9        "200": 3,
10        "401": 2,
11        "403": 5,
12        "405": 24
13    },
14    "success": 3,
15    "total": 43
16}

Changelog

Check history of changes in the CHANGELOG

Developer
Maintained by Apify

Actor Metrics

  • 3 monthly users

  • 26 stars

  • >99% runs succeeded

  • Created in Jan 2020

  • Modified 5 months ago

Categories