Extractor settings
The plugin integrates third-party scraping services to help bypass IP restrictions or blocks:
Scrapeowl.com
Crawlbase
These services are paid, but each typically includes about 1,000 free requests per month.
How to Route Requests Through a Scraping Service
1. Add Your API Keys
In your WordPress admin, go to: Affiliate Egg → Settings → Extractor Settings
Enter the API key for each provider you want to use.
Save changes.
You can enable one or multiple providers at the same time. Which provider is used for each URL is controlled by routing rules (see below).

2. Configure Routing Rules
Routing rules tell the plugin which scraping service to use for specific domains or URL patterns.
In Affiliate Egg → Settings → Extractor Settings, scroll to the Routing rules table.
Click Add rule.
Fill in the fields:
Pattern – the domain or URL pattern to match.
Provider – select the scraping service to use.
Extra params (optional) – additional query parameters for the provider API.
Save your changes.
Whenever a URL matches a rule, that request will be sent through the selected provider.

Pattern Examples
You can match domains or more specific URL paths. Some common patterns:
example.comMatches the domain example.com. This is the most common pattern and is usually what you’ll use when creating a rule for a specific site.*.example.comMatches any subdomain, e.g.:shop.example.comde.example.com
example.com/path/*Matches only URLs that start with/path/, e.g.:https://example.com/path/product-123https://example.com/path/category/
Additional Parameters
Additional parameters are simply added to the provider’s API request as query parameters.
Each provider has its own parameter names and supported values.
Use these to enable features like geo-targeting, premium proxies, or JavaScript rendering.
Below are examples for the providers currently supported.
ScraperAPI Parameters
You can pass these in the Extra params field:
country_code=usUse US-based proxies (geo-targeting).premium=trueUse premium residential/mobile IPs.ultra_premium=trueUse the advanced bypass mechanism for harder sites.render=trueEnable JavaScript rendering for dynamic pages.
Scrapingdog Parameters
You can pass these in the Extra params field:
country=deUse German IPs (geo-targeting).premium=trueUse premium residential proxies.dynamic=trueEnable JavaScript rendering for dynamic pages.
Combining Parameters
You can combine multiple parameters using & just like a normal query string.
Example:
country_code=us&premium=true&render=trueRule Priority and Order
Routing rules are evaluated from top to bottom:
The plugin checks the first rule.
If the URL matches the rule pattern, that rule’s provider (and parameters) are used.
If it doesn’t match, it moves to the next rule, and so on.
The first matching rule wins.
Tips:
Put more specific patterns (e.g.
example.com/path/*) above more general ones (e.g.example.com).If a URL does not match any rule, the request will be made without a scraping provider.
Custom Parameters for Scraping Services (Programmatically)
// Add premium parameter to ScrapingDog requests
add_filter('affegg_parse_url_scrapingdog', function($url) {
return add_query_arg('premium', 'true', $url);
}, 10, 1);
// Add country parameter to ScrapingDog requests
add_filter('affegg_parse_url_scrapingdog', function($url) {
return add_query_arg('country', 'au', $url);
}, 10, 1);
// Add country_code parameter to ScraperAPI requests
add_filter('affegg_parse_url_scraperapi', function($url) {
return add_query_arg('country_code', 'de', $url);
}, 10, 1);
Last updated
Was this helpful?