Skip to content

Dynamic Scraping with Playwright Integration

Choose a tag to compare

@arash12javadi arash12javadi released this 23 Jun 16:47
· 48 commits to Plugin since this release

This release introduces major improvements to the scraping engine of AJDWP Auto Product Maker, enabling accurate product data extraction from a wide range of modern, JavaScript-rendered websites such as Eneba and WooCommerce-based stores.

🧠 Key Features:
✅ Playwright Integration (Local Runtime):
Added Node.js + Playwright support to scrape rendered HTML reliably from dynamic pages.

🔍 Custom & Default Selectors:
Supports both user-defined and intelligent fallback selectors for:

Product Title

Price (including original and discounted values)

Short Description

Long Description

Featured Image

Image Gallery

💸 Dual Price Handling:
Automatically scrapes both the regular and discounted prices, allowing you to choose which one to insert into WooCommerce (default: discounted).

🖼️ High-Resolution Gallery Images:
Automatically selects the best quality image available (data-large_image, data-src, src).

🛡️ Enhanced Validation & Feedback:
Improved backend logging and user messages for missing selectors or scraping errors.

🔄 Preview Before Insertion:
Secure preview stage lets you confirm all scraped content before saving as a WooCommerce product.

⚙️ Setup Requirements:
Node.js and Playwright must be installed locally.

Run npx playwright install after installing the plugin to fetch necessary browser binaries.

Ensure your scraper path and Node binary path are correctly set in scraper.php.

This update ensures broader compatibility, better accuracy, and more control when creating products from external sources. Perfect for affiliate marketers, resellers, and WooCommerce store managers.