Article Scraper - Extract Titles, Authors, Tags & Metadata
Pricing
$2.00 / 1,000 per scraped articles
Article Scraper - Extract Titles, Authors, Tags & Metadata
Extract article titles, dates, authors, tags, reading time, canonical URL and og:image from any webpage, or a whole list of URLs in one batch run. Structured JSON output for RAG, lead generation and content monitoring.
Pricing
$2.00 / 1,000 per scraped articles
Rating
0.0
(0)
Developer
Tristan Evans
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 hours ago
Last modified
Categories
Features
Share
What It Does
The Article Scraper extracts structured article data from any webpage. It fetches the page, parses HTML with BeautifulSoup, and returns clean JSON with titles, dates, summaries, authors, tags, reading time, canonical URLs, Open Graph images, and full article content in both HTML and Markdown formats. The output is designed for RAG pipelines, lead generation, content monitoring, and AI training data collection.
Key capabilities:
- Article metadata extraction (title, date, summary, author, tags, reading time)
- Canonical URL and Open Graph image (og:image) resolution
- Full-text content extraction in HTML and Markdown
- RSS/Atom feed auto-discovery fallback
- Pagination support for multi-page articles and listing pages
- JSON-LD structured data parsing with @graph support
- Dry-run mode for testing without charges
Features
| Feature | Description |
|---|---|
| Metadata extraction | Author, tags, reading time, canonical URL, og:image, site name, locale |
| Full-text content | Complete article body in HTML and Markdown (RAG-ready) |
| Structured data parsing | JSON-LD (Article, NewsArticle, BlogPosting) with @graph array support |
| CTA / affiliate links | Per-article cta list of buy/sign-up/affiliate links with the text and why each was flagged |
| Feed discovery | Auto-finds RSS/Atom feeds when article elements are not found |
| Pagination | Follows rel="next", "Load more" links, and numeric pagination |
| Dry-run mode | Test extraction without consuming compute or triggering charges |
| Resilient fetching | Browser UA, retry on 429/5xx, fail-fast on permanent 4xx |
| Clean output | Deduplication, empty-summary filtering, pay-per-event safety gate |
How It Works
- Input validation — Accepts a single URL or array of URLs, optional
maxItems,includeMetadata,dryRun, and customuserAgent. - Fetch with retries — GET request with browser User-Agent, exponential backoff on 429/500/502/503/504, immediate failure on 404/400/401/403.
- Parse HTML — BeautifulSoup parses the document; article candidates found via semantic selectors (
<article>,[role="article"],.post,.entry, etc.). - Extract per article — Title from
<h1>/og:title, date fromtime/article:published_time, summary from meta description or first paragraph. - Enrich with metadata (if
includeMetadata=true) — Scans page-level meta tags, Open Graph, Twitter Cards, and JSON-LD for author, tags, reading time, canonical URL, og:image, site name, locale. - Full-text extraction — Removes nav, footer, aside, script, style; returns cleaned HTML and Markdown via
html2text. - Feed fallback — If no articles found, discovers RSS/Atom links in
<head>and parses feed items. - Pagination — Detects next-page links and continues until
maxItemsor no more pages. - Clean & dedupe — Drops items with blank summaries, deduplicates on (title, URL), enforces
maxItems. - Charge gate — In dry-run, returns results without pushing. In production, pushes each item with
Actor.push_data(item, charged_event_name="result-item").
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
urls | string | string[] | Yes | — | Single URL or array of URLs to scrape |
maxItems | integer | No | 50 | Maximum articles to return across all URLs |
includeMetadata | boolean | No | true | Extract author, tags, reading_time, canonical_url, og_image, site_name, locale |
dryRun | boolean | No | false | Run extraction without pushing to dataset or charging |
userAgent | string | No | Chrome 125 UA | Custom User-Agent header for requests |
Example input:
{"urls": ["https://example.com/blog"],"maxItems": 20,"includeMetadata": true,"dryRun": false}
Output Example
Each dataset item contains:
{"title": "How to Build a Scraper in 2024","url": "https://example.com/blog/how-to-build-scraper","date": "2024-01-15T10:30:00Z","summary": "A step-by-step guide to building robust web scrapers...","author": "Jane Developer","tags": ["web scraping", "python", "automation"],"reading_time": 8,"canonical_url": "https://example.com/blog/how-to-build-scraper","og_image": "https://example.com/images/scraper-guide.jpg","site_name": "Example Blog","locale": "en_US","content": "<article>...full HTML...</article>","markdown": "# How to Build a Scraper in 2024\n\nA step-by-step guide...","cta": [{"text": "Try the tool free","url": "https://example.com/signup?ref=author","reason": "affiliate-param"}]}
cta[].reason is one of affiliate-host (link points at a known affiliate network such as an Amazon or Awin host), affiliate-param (the URL carries an affiliate/tracking parameter such as ref, aff, tag or partner), or button-text (the visible text reads like a call to action: buy, sign up, try free, join). It is a heuristic: bare "here" links and JS-only buttons are missed by design.
cta is always populated (no extra input flag) and the per-article price is unchanged.
Example output
Example output (fields returned in the dataset — 3 articles from github.blog, max 3 results)
| title | date | reading_time | site_name | url |
|---|---|---|---|---|
| Beyond code generation: A developer’s guide to agentic engineering | 2026-11-06 | 1 | The GitHub Blog | https://github.blog/ai-and-ml/github-copilot/beyond-code-generation-a-developers-guide-to-agentic-engineering/ |
| GitHub availability report: October 2026 | 2026-11-12 | 1 | The GitHub Blog | https://github.blog/news-insights/company-news/github-availability-report-october-2026/ |
| Git security vulnerabilities announced | 2026-11-10 | 1 | The GitHub Blog | https://github.blog/open-source/git/git-security-vulnerabilities-announced-7/ |
Data from a real run on 2026-11-18 (run A50Avlsqh1kf83lVh, build 0.0.5) scraping github.blog — dataset pMshf3Bi02QsHZeiJ.
Cost Estimate
- Actor start: $0.001 per run
- Per article (result-item): $0.002 per cleaned article pushed to dataset
- Apify platform compute: ~$0.0004–$0.001 per run (depends on memory/CPU seconds)
Typical run (1 URL, ~20 articles): ~$0.041 + compute ≈ $0.05 total
1,000 articles: ~$2.00 + compute ≈ $2.50 total
Free Apify plan runs do not generate revenue for the actor owner. Revenue only accrues from paid-plan users.
Price comparison
| Actor | Per article | Per 1,000 articles | Notes |
|---|---|---|---|
| Article Scraper | ~$0.002 | $2.00 | Dry runs free, HTML + Markdown output |
| apify/article-scraper | ~$0.003 | $3.00 | 1,200+ users/30d |
| web-scraper-tools/article-extractor | ~$0.004 | $4.00 | No metadata extraction |
Limitations
- JavaScript-rendered content: This actor uses
requests+ BeautifulSoup (static HTML only). Pages requiring JS execution (React, Vue, infinite scroll) will return incomplete data. - Anti-bot protection: Cloudflare, Akamai, and similar WAFs may block or challenge requests. The actor does not solve CAPTCHAs or rotate proxies.
- Rate limits: Target sites may rate-limit or block aggressive scraping. Use responsibly and respect
robots.txt. - Selectors are heuristic: Article detection works on common patterns but may miss unusual markup. Custom selectors are not supported.
- No authentication: Cannot access paywalled or login-required content.
- Memory limit: Default 256 MB; large pages or many pagination steps may hit memory ceiling.
FAQ
Q: Why is my run returning 0 articles?
A: The page may use JavaScript rendering, have anti-bot protection, or use non-standard markup. Try the URL in dry-run mode and check the diagnostic logs.
Q: Can I scrape a list of article URLs directly?
A: Yes, pass an array of article URLs in urls. The actor will fetch and extract each one.
Q: Does it follow pagination automatically?
A: Yes, it detects rel="next", "Load more" buttons, and numeric pagination links. Set maxItems to control depth.
Q: What's the difference between content and markdown?
A: content is cleaned HTML (scripts/styles/nav removed). markdown is the same content converted to Markdown via html2text for RAG/LLM ingestion.
Q: How are charges calculated?
A: One apify-actor-start ($0.001) per run + one result-item ($0.002) per article with a non-empty summary pushed to the dataset. Dry-run mode incurs zero charges.
Q: Can I use this for product/price scraping?
A: This actor is optimized for articles/blogs. For product data, use a dedicated e-commerce scraper with price/currency/availability selectors.
Q: Can I find affiliate or buy-now links in the articles?
A: Yes. Every article item carries a cta list of flagged call-to-action links with their visible text, absolute URL and the reason it was flagged. Use it for affiliate-link audits, competitor offer monitoring and outreach lists. It is heuristic, not a guarantee of completeness.
Q: Is there a free trial?
A: Apify offers a free plan with $5/month platform credits. Actor runs on the free plan do not generate revenue for the actor owner.
Also see
- workday-jobs-api — every job from any Workday career site ($1/1k jobs)
- career-site-jobs — Greenhouse, Lever, Ashby, Workable, SmartRecruiters, Recruitee ($3/1k jobs)
- website-contact-extractor — business emails, phones and socials per domain ($1.50/1k sites)
- uk-food-hygiene-ratings — UK food business hygiene ratings from the FSA open data ($0.003/record, first 50 free)
- bulk-domain-check — domain availability, RDAP, DNS and SPF/DMARC in bulk ($1/1k domains)
Local Development
pip install -r requirements.txtpython -m pytest test_fixture.py -q # offline fixture suite (66 tests)python main.py # reads storage/key_value_stores/default/INPUT.json