Available Extractors
Newspaper4k
General-purpose article extractor for news and blogs
Trafilatura
Lightweight content extraction with high accuracy
Custom CSS
Site-specific CSS selectors for structured data
Playwright
Browser rendering for JavaScript-heavy sites
Extraction Order
Configure extraction order in spider settings:Strategy Selection
Extractor Comparison
Content Validation
All extractors validate:- Title: min 5 characters
- Content: min 100 characters
ScrapedArticle Schema
Page URL
Article/page title (min 5 chars)
Main content text (min 100 chars)
Author name (if available)
Publication date (if available)
Extractor used:
"newspaper4k", "trafilatura", "custom", "playwright"Extraction timestamp (UTC)
Extractor-specific or custom fieldsNewspaper metadata:
top_image- Main image URLkeywords- Extracted keywordssummary- Auto-generated summary
description- Meta descriptionsitename- Site namecategories,tags,fingerprint,license
- Any fields from
CUSTOM_SELECTORS(except title/content/author/date) - Any fields from callback
extractconfig
Raw HTML (only if
include_html=True in export)Configuration Examples
Generic News Site
Custom Selectors with Fallback
JavaScript-Rendered Site
E-commerce (Custom Only)
Fallback Behavior
Extraction fails when:- Selector returns no match
- Content/title too short (< 100 chars / < 5 chars)
- Parser exception
Performance Considerations
Fast extractors (news/blogs):Debugging Extraction
Related
- Newspaper Extractor - Newspaper4k configuration
- Trafilatura Extractor - Trafilatura options
- Custom Extractors - CSS selector syntax
- Playwright Extractor - Browser rendering
- Settings - Complete settings reference