PiratProxies

Web scraping

Proxies in ParseHub: working examples

ParseHub is a visual scraper that runs projects in its cloud. Paid plans can use your own proxies, once ParseHub has switched the option on for your account.

The right proxy type for ParseHub

For most scraping, Residential Lite is the cheapest way to get home IP addresses in the right country. Use Residential when you need a particular state or city, and Unlimited Datacenter for targets in the United States that do not block data centre addresses.

The values to enter in ParseHub

Every PiratProxies plan comes down to four values: host, port, username and password. Here they are for Residential; your own username and password are on your plan page.

Hostresi.piratproxies.com
HTTP port8080
SOCKS5 port1080
UsernameUSERNAME
Passwordshown on your plan page

Written as a single line:

resi.piratproxies.com:8080:USERNAME:PASSWORD

There is no separate country or session field: both are part of the username. Your plan page has a generator that writes it, and Targeting and sessions describes each piece.

Setting it up in ParseHub

  1. Ask ParseHub support to enable custom proxies on your account. The option is not there until they do.
  2. Open the project's Settings and tick Rotate IP Addresses. A box for custom proxies appears.
  3. Add your proxy as resi.piratproxies.com:8080:USERNAME:PASSWORD. Several proxies go on separate lines.

Menus move around between ParseHub versions, but the four values you enter never change.

Should ParseHub rotate IPs or keep one?

When ParseHub is fetching lots of unrelated pages, leave the session out of the username and each request gets a fresh IP address. When requests belong together, such as a login, a basket or paginated results that set cookies, put a session in the username so they all share one address.

Here is what a sticky username looks like:

USERNAME-country-us-time-600-session-a1b2c3d4

When ParseHub will not connect

  • ParseHub advises fixed proxies and says that not every provider's gateway works with it. Test with a small project before relying on it.
  • Use a sticky username on each line, so a run keeps one IP address per line.
  • Error 407 means the login was refused. Copy the username and password from your plan page once more, and make sure no space crept in and the username was not cut short.
  • An IP in the wrong country nearly always comes from the username, since the country code lives there. Other fixes.

ParseHub and proxies: questions

Which PiratProxies plan suits ParseHub best?

For most scraping, Residential Lite is the cheapest way to get home IP addresses in the right country. Use Residential when you need a particular state or city, and Unlimited Datacenter for targets in the United States that do not block data centre addresses.

Words used in this guide: web scraping, rotating proxy, sticky session, rate limiting, headless browser.

ParseHub belongs to its own developers, and PiratProxies has no connection with them; we name it only to say what this guide covers. Follow the rules of the sites you visit and our acceptable use policy.