Simple Web Scraper
Pricing
from $5.00 / actor start
Go to Apify Store

Simple Web Scraper
Under maintenanceScrapes titles, headings, and links from a given URL.
Pricing
from $5.00 / actor start
Rating
5.0
(1)
Developer
abdul qadir basha
Maintained by Community
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
7 days ago
Last modified
Share
Simple Web Scraper — Apify Actor
A minimal Python Apify actor that scrapes a single page and extracts:
- Page title
- Headings (h1 / h2 / h3)
- Links (up to
maxLinks)
Results are stored in the default Apify dataset.
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | ✅ | — | Full URL of the page to scrape |
maxLinks | integer | 20 | Maximum number of links to collect |
Example input
{"url": "https://example.com","maxLinks": 10}
Output
Each run pushes a single record to the dataset:
{"url": "https://example.com","title": "Example Domain","headings": [{ "level": "h1", "text": "Example Domain" }],"links": [{ "url": "https://www.iana.org/domains/reserved", "text": "More information..." }],"links_found": 1}
Running locally
# Install dependenciespip install -r requirements.txt# Run with Apify CLIapify run --input '{"url": "https://example.com", "maxLinks": 10}'
Deploying to Apify
apify loginapify push