VOOZH about

URL: https://apify.com/simon.m/kv-randomizer

⇱ Kv Randomizer Β· Apify


Pricing

$1,000.00 / 1,000 ds

Go to Apify Store

Pricing

$1,000.00 / 1,000 ds

Rating

0.0

(0)

Developer

πŸ‘ Ε imon Maresz

Ε imon Maresz

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

3

Monthly active users

10 months ago

Last modified

Categories

Share

Scrape single-page in JavaScript template

xx A template for scraping data from a single web page in JavaScript (Node.js). The URL of the web page is passed in via input, which is defined by the input schema. The template uses the Axios client to get the HTML of the page and the Cheerio library to parse the data from it. The data are then stored in a dataset where you can easily access them.

The scraped data in this template are page headings but you can easily edit the code to scrape whatever you want from the page.

Included features

  • Apify SDK - toolkit for building Actors
  • Input schema - define and easily validate a schema for your Actor's input
  • Dataset - store structured data where each object stored has the same attributes
  • Axios client - promise-based HTTP Client for Node.js and the browser
  • Cheerio - library for parsing and manipulating HTML and XML

How it works

  1. Actor.getInput() gets the input where the page URL is defined

  2. axios.get(url) fetches the page

  3. cheerio.load(response.data) loads the page data and enables parsing the headings

  4. This parses the headings from the page and here you can edit the code to parse whatever you need from the page

    $("h1, h2, h3, h4, h5, h6").each((_i, element)=>{...});
  5. Actor.pushData(headings) stores the headings in the dataset

Resources

Getting started

For complete information see this article. To run the actor use the following command:

$apify run

Deploy to Apify

Connect Git repository to Apify

If you've created a Git repository for the project, you can easily connect to Apify:

  1. Go to Actor creation page
  2. Click on Link Git Repository button

Push project on your local machine to Apify

You can also deploy the project on your local machine to Apify without the need for the Git repository.

  1. Log in to Apify. You will need to provide your Apify API Token to complete this action.

    $apify login
  2. Deploy your Actor. This command will deploy and build the Actor on the Apify Platform. You can find your newly created Actor under Actors -> My Actors.

    $apify push

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

You might also like

Kv To Kv Orchestrator

aysen/kv-to-kv-orchestrator

Run actors/tasks from items in a KvStore and save results in another

GCP Uploader

circ_le/gcp-uploader

Upload datasets and KV store records to Google cloud storage

51

5.0

KV.ee Scraper β€” Estonian Real Estate Listings

studio-amba/kv-ee-scraper

Scrape real estate listings from KV.ee β€” Estonia's largest property portal. Extract apartments, houses, land, and commercial properties with prices, area, rooms, floor, location, and photos. Supports sale and rental listings across all Estonian counties. No login required.

Pinterest Video Scraper & Downloader

codenest/pinterest-video-scraper-downloader

Extract Pinterest videos with complete engagement metrics, creator profiles, board data & KV store URLs. Get repins, likes, shares, saves, thumbnails & resolution in structured JSON output.

Clutch Scraper Pro

procoders/clutch-scraper-pro

The most comprehensive and reliable Clutch scraper on Apify marketplace just by Link. Extract complete company profiles with 50+ data fields, including reviews, intelligent deduplication, KV caching, and blazing-fast performance.

Facebook Video Downloader

neuro-scraper/facebook-video-downloader

Download clean MP4 videos, thumbnails, duration info,get the video in key value store and direct download links from public Facebook video URLs β€” all automatically. πŸš€ This actor gives you structured metadata, ready-to-use media files in KV storage, and reliable scraping without extra noise. 🎬πŸ“₯✨

7

πŸ“πŸ“ž πŸ†” ⭐ 🌐 Google Maps Places Spider

badruddeen/google-maps-places-spider

A powerful Google Maps scraper that extracts listings from any location with intelligent deduplication & KV-backed delta tracking. Extract structured business data including: Business Name, Address, Phone number, Website, Google Maps short URL, Rating and Review Count. No hidden extra charges

πŸ‘ User avatar

Badruddeen Naseem

15

5.0

Tumblr Media Scraper

codenest/tumblr-media-scraper

Extract complete Tumblr posts with all media typesβ€”images, videos, audio, GIFsβ€”plus rich metadata like tags, uploader info, and engagement stats. Get direct CDN download links and secure KV store url and comprehensive post data in clean JSON format for archiving, analysis, or content repurposing.

Watermark Image API

maximedupre/watermark-image-api

Add text, logo, or tiled watermarks to image URLs, uploads, KV files, or data URLs. Save watermarked PNG, JPEG, or WebP files to Apify storage with clean dataset rows for API workflows.

πŸ‘ User avatar

Maxime DuprΓ©

3

Related articles

How I built optimized Apify Actors in Go
Read more