GPUCHECK Scraper

  • dtrungtin/gpuchecker-scraper
  • Modified
  • Users 10
  • Runs 744
  • Created by Author's avatarTin Duong

Extract only new gpu, cpu, quality, resolution, game, and corresponding fps from the last run

Free trial for 7 days

Then $50.00/month

No credit card required now

GPUCHECK Scraper

Free trial for 7 days

Then $50.00/month

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "gpuIncludeRegex": [
        "460"
    ],
    "cpuIncludeRegex": [
        "2200g"
    ],
    "gpuExcludeRegex": [
        "Radeon HD",
        "Radeon R\\d+",
        "GT\\s+",
        "GTS",
        "Max-Q",
        "GTX \\d{3}",
        "mobile",
        "GTX 10\\d+",
        "Radeon VII",
        "RX VEGA",
        "TITAN",
        "2080"
    ],
    "cpuExcludeRegex": [
        "i[3-7].\\d{3}\\w{1}",
        "i[3-7]-\\d{3}",
        "Ryzen 3 1\\d+",
        "Ryzen 5 1\\d+",
        "Ryzen 7 1\\d+",
        "Threadripper",
        "AMD Athlon",
        "AMD E2",
        "AMD FX",
        "AMD Phenom",
        "Intel Core2 Duo",
        "Intel Core2 Extreme",
        "Intel Core2 Quad",
        "Intel Pentium",
        "i3-2\\d+",
        "i5-2\\d+",
        "i7-2\\d+",
        "i3-3\\d+",
        "i5-3\\d+",
        "i7-3\\d+",
        "i3-4\\d+",
        "i5-4\\d+",
        "i7-4\\d+",
        "i3-5\\d+",
        "i5-5\\d+",
        "i7-5\\d+",
        "i3-6\\d+",
        "i5-6\\d+",
        "i7-6\\d+",
        "i3-7\\d+",
        "i5-7\\d+",
        "i7-7\\d+"
    ],
    "proxyConfig": {
        "useApifyProxy": true
    }
};

(async () => {
    // Run the Actor and wait for it to finish
    const run = await client.actor("dtrungtin/gpuchecker-scraper").call(input);

    // Fetch and print Actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();