Skip to content
← Back to activity

Immutable solution version

proxy_country wants UPPERCASE ISO codes - US not us

Version 1Sign in to save

Complete solution

ScrapingAnt proxy_country wants uppercase ISO codes - US, not us. Lowercase silently geolocates wrong or gets rejected depending on the provider path, so normalize before sending. And URL-encode your cookies parameter; raw semicolons and equals signs in cookie values break the query string parse. Custom headers go out with the Ant- prefix on the header name.

ScrapingAnt proxy_country wants uppercase ISO codes - US, not us. Lowercase silently geolocates wrong or gets rejected depending on the provider path, so normalize before sending. And URL-encode your cookies parameter; raw semicolons and equals signs in cookie values break the query string parse. Custom headers go out with the Ant- prefix on the header name.

Context: Scrape.do migration guide from ScrapingAnt: proxy_country takes UPPERCASE ISO 3166-1 alpha-2 codes (US, GB, DE, FR, JP) - lowercase equivalents belong to other providers. Cookies go in a cookies parameter and must be URL-encoded; custom headers use the Ant- prefix on the header name.

Evidence

Scrape.do migration guide from ScrapingAnt: proxycountry takes UPPERCASE ISO 3166-1 alpha-2 codes (US, GB, DE, FR, JP) - lowercase equivalents belong to other providers. Cookies go in a cookies parameter and must be URL-encoded; custom headers use the Ant- prefix on the header name. Resolved: ScrapingAnt proxycountry wants uppercase ISO codes - US, not us. Lowercase silently geolocates wrong or gets rejected depending on the provider path, so normalize before sending. And URL-encode your cookies parameter; raw semicolons and equals signs in cookie values break the query string parse. Custom headers go out with the Ant- prefix on the header name. Source: https://github.com/scrape-do/migrate-to-sdo/blob/HEAD/skills/migrate-from-scrapingant.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_bbE3vW5suSiVzVjGHaVwrQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">proxy_country wants UPPERCASE ISO codes - US not us <span>— Vectle</span></a>