✨ WordPress Content Extractor
by ramman
Extract posts, pages, images, and metadata from any WordPress site. Automatically export your scraped content to structured JSON, CSV, or TXT files.
Opens on Apify.com
About ✨ WordPress Content Extractor
Need to pull content from a WordPress site? Whether you're migrating a blog, backing up your posts, or analyzing competitors, manually copying everything is a nightmare. I built this actor to solve that exact headache. It connects to any public WordPress site and systematically extracts the content you need—posts, pages, custom post types, author info, categories, and even comments. It grabs featured images and media attachments along the way, so you get the complete picture. Once it's done, you get clean, structured data. I always export to JSON for my own projects, but you can just as easily get a CSV for spreadsheets or a plain TXT file. It's perfect for developers who need to move a site to a new platform, marketers doing content audits, or researchers compiling datasets. I use it regularly because it saves hours of tedious work and just gets the job done without fuss. Give it a URL, configure what you want, and let it handle the rest.
What does this actor do?
✨ WordPress Content Extractor is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
WordPress Content Extractor
An Apify Actor that extracts structured content from WordPress websites. It combines HTML parsing with the WordPress REST API to pull posts, pages, media, and metadata.
Key Features
- Content Extraction: Pulls blog posts, static pages, custom post types, media assets (with alt text), and SEO metadata (Open Graph, meta descriptions).
- Smart Discovery: Automatically finds content via site navigation, taxonomy pages (categories/tags), and pagination. Uses the
/wp-json/wp/v2/API when available. - Structured Data: Outputs a consistent JSON schema for all items, including content, author, dates, categories, and tags.
- Flexible Configuration: Choose which content types to extract (posts, pages, media, metadata, comments) and set page limits.
- Broad Compatibility: Works with all WordPress versions, custom themes, Gutenberg blocks, custom post types, and multisite networks.
How to Use
- Deploy the Actor on the Apify Platform.
- Configure the input (see below).
- Run the Actor. It will crawl the site, extract content, and store the results in the dataset.
Input Configuration
Provide these parameters in the Actor input:
| Parameter | Type | Default | Description |
|---|---|---|---|
url |
String | Required | The starting URL of the WordPress site. |
extractPosts |
Boolean | true |
Extract blog posts. |
extractPages |
Boolean | true |
Extract static pages. |
extractMedia |
Boolean | true |
Extract media file URLs. |
extractMetadata |
Boolean | true |
Extract SEO metadata. |
maxPages |
Integer | 0 |
Max pages to extract (0 for no limit). |
includeComments |
Boolean | false |
Extract user comments. |
Output
The Actor outputs a dataset where each item represents a post or page with this structure:
{
"url": "https://example.com/post-title",
"title": "Post Title",
"content": "Full HTML content",
"excerpt": "Post summary",
"metadata": {
"description": "Meta description",
"ogTitle": "Open Graph title",
"ogImage": "Open Graph image URL"
},
"media": [
{ "src": "image-url.jpg", "alt": "Image alt text", "type": "image" }
],
"comments": [
{ "author": "Commenter Name", "content": "Comment text", "date": "Comment date" }
],
"publishedDate": "2024-01-01T00:00:00Z",
"author": "Post Author",
"categories": ["Category 1"],
"tags": ["tag1", "tag2"],
"type": "post"
}
Technical Details
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try ✨ WordPress Content Extractor now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- ramman
- Pricing
- Paid
- Total Runs
- 114
- Active Users
- 15
Related Actors
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Linkedin Profile Details Scraper + EMAIL (No Cookies Required)
by apimaestro
Twitter (X.com) Scraper Unlimited: No Limits
by apidojo
Content Checker
by jakubbalada
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support