VOOZH about

URL: https://apify.com/spark_actors/website-text-scraper

โ‡ฑ Website text scraper ยท Apify


Pricing

Pay per usage

Go to Apify Store

Website text scraper

Extracts key content from any website URL you provide. It fetches the pageโ€™s title, meta description, all headings (H1 to H6), paragraphs, links, and tables โ€” delivering structured data for easy use. Ideal for quick insights, SEO analysis, or data extraction without complex setup.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

๐Ÿ‘ muhammad ubaid

muhammad ubaid

Maintained by Community

Actor stats

0

Bookmarked

48

Total users

1

Monthly active users

7 months ago

Last modified

Share

Python Crawlee & BeautifulSoup Actor Template

This template example was built with Crawlee for Python to scrape data from a website using Beautiful Soup wrapped into BeautifulSoupCrawler.

Quick Start

Once you've installed the dependencies, start the Actor:

$apify run

Once your Actor is ready, you can push it to the Apify Console:

apify login # first, you need to log in if you haven't already done so
apify push

Project Structure

.actor/
โ”œโ”€โ”€ actor.json # Actor config: name, version, env vars, runtime settings
โ”œโ”€โ”€ dataset_schena.json # Structure and representation of data produced by an Actor
โ”œโ”€โ”€ input_schema.json # Input validation & Console form definition
โ””โ”€โ”€ output_schema.json # Specifies where an Actor stores its output
src/
โ””โ”€โ”€ main.py # Actor entry point and orchestrator
storage/ # Local storage (mirrors Cloud during development)
โ”œโ”€โ”€ datasets/ # Output items (JSON objects)
โ”œโ”€โ”€ key_value_stores/ # Files, config, INPUT
โ””โ”€โ”€ request_queues/ # Pending crawl requests
Dockerfile # Container image definition

For more information, see the Actor definition documentation.

How it works

This code is a Python script that uses BeautifulSoup to scrape data from a website. It then stores the website titles in a dataset.

  • The crawler starts with URLs provided from the input startUrls field defined by the input schema. Number of scraped pages is limited by maxPagesPerCrawl field from the input schema.
  • The crawler uses requestHandler for each URL to extract the data from the page with the BeautifulSoup library and to save the title and URL of each page to the dataset. It also logs out each result that is being saved.

What's included

Resources

Creating Actors with templates

Getting started

For complete information see this article. In short, you will:

  1. Build the Actor
  2. Run the Actor

Pull the Actor for local development

If you would like to develop locally, you can pull the existing Actor from Apify console using Apify CLI:

  1. Install apify-cli

    Using Homebrew

    $brew install apify-cli

    Using NPM

    $npm-ginstall apify-cli
  2. Pull the Actor by its unique <ActorId>, which is one of the following:

    • unique name of the Actor to pull (e.g. "apify/hello-world")
    • or ID of the Actor to pull (e.g. "E2jjCZBezvAZnX8Rb")

    You can find both by clicking on the Actor title at the top of the page, which will open a modal containing both Actor unique name and Actor ID.

    This command will copy the Actor into the current directory on your local machine.

    $apify pull <ActorId>

Documentation reference

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

You might also like

Website H1-H6 Headings Checker

smart-digital/website-h1-h6-headings-checker

Audit the H1โ€“H6 structure of any webpage or domain. Detect heading issues, get SEO scores, and receive actionable recommendations for improvement.

My Smart Digital

22

Universal Website Meta Scraper โ€” SEO & Links Analysis

scrapepilot/universal-website-meta-scraper----seo-links-analysis

Extract meta data from any website instantly. Get title, description, headings, links, images, OG tags & status code. Perfect for SEO analysis, lead gen, and auditing. No coding required.

Extract Website With URL

mrahil/extract-website-with-url

The Extract Website with URL API allows users to extract structured data from any webpage by providing a URL. It retrieves HTML, metadata, tables, and images, returning data in JSON format. Ideal for web scraping, SEO analysis, and content extraction. Use it for e-commerce data, news scraping

๐Ÿ‘ User avatar

Mohammed Rahil

225

SEO Audit Pro

botflowtech/seo-audit-pro

Professional-grade SEO audit tool built for agencies, developers, and marketers. Extract 30+ SEO data points from any webpage including Title Tags, Meta Descriptions, H1-H6 Headings, Status Codes, Canonical URLs, Open Graph tags, Twitter Cards, JSON-LD structured data, and comprehensive SEO health.

Website Content Crawler

alizarin_refrigerator-owner/website-crawler

Crawl websites for SEO audits. Extracts HTML, title, meta tags, headings, links, & text content from pages. Automatic sitemap detection & parsing Extracts metadata (title, description, OG tags) Heading structure (H1, H2, H3) Internal & external link analysis Image extraction w/alt text Word count

113

Heading Structure Checker

automation-lab/heading-structure-checker

This actor analyzes the heading structure (H1-H6) of web pages. It extracts all headings in document order, checks for missing H1, multiple H1s, skipped heading levels, heading order jumps, empty headings, and overly long headings. Essential for SEO and accessibility.

๐Ÿ‘ User avatar

Stas Persiianenko

6

Website Content Miner

techionik9993/website-content-miner

Extract clean website content at scale: page titles, meta descriptions, H1-H3 headings, readable main text, and URLs. Includes smart noise removal, Readability fallback, optional internal crawling, and structured output for SEO audits, AI datasets, research, and automation.

Simple SEO Data Extractor

onescales/simple-seo-data-extractor

Grab SEO data from any webpage / URL and export the URL, Title Tag, Meta Description, Meta Keywords, Status Code, H1, H2, Canonical Tag and Meta Robots easily. Run the scraper for 1-100,000 pages. Run one time or on schedule or via API and Get an SEO Report for Any Site.

459

5.0

Related articles

The definitive guide to text scraping
Read more
5 powerful scrapers to add to your SEO tool kit
Read more
The best AI web scrapers in 2026? We put four to the test
Read more