mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
Scrapingant proxies (#59)
* preparing scraping ant proxies * adding general settings for scraping ant proxy * retrying with new ui settings
This commit is contained in:
committed by
GitHub
parent
a4501007ff
commit
2062aa11a3
@@ -9,7 +9,7 @@ const isImmoscout = (id) => {
|
||||
exports.transformUrlForScrapingAnt = (url, id) => {
|
||||
if (isImmoscout(id)) {
|
||||
//only do calls to scrapingAnt when dealing with Immoscout
|
||||
url = `https://api.scrapingant.com/v1/general?url=${encodeURIComponent(url)}&proxy_type=residential`;
|
||||
url = `https://api.scrapingant.com/v1/general?url=${encodeURIComponent(url)}&proxy_type=datacenter`;
|
||||
}
|
||||
return url;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user