Colly (Go) · PROXY-SETUP

Colly (Go) mit Proxy einrichten

The scraping framework for Go. Richte es mit der Konfiguration unten auf den eveses-Residential-Pool aus — die Geo steckt im Benutzernamen, sonst muss für einen Länderwechsel nichts geändert werden.

proxy.eveses.com:12321 · SOCKS5 auf 32325 · 199 Länder · ab $7.35/GB

Achtung

Colly ships `proxy.RoundRobinProxySwitcher`, which rotates a fixed LIST of proxy URLs. With a rotating pool you want the opposite: one URL, and the pool rotates behind it. Feeding the switcher one URL is correct and the round-robin is simply unused.

Konfiguration

package main

import (
    "github.com/gocolly/colly/v2"
    "github.com/gocolly/colly/v2/proxy"
)

func main() {
    c := colly.NewCollector(colly.Async(true))

    // One URL: the pool rotates behind it, so the switcher has nothing to do.
    rp, err := proxy.RoundRobinProxySwitcher(
        "http://eveses_user_country-us:[email protected]:12321",
    )
    if err != nil { panic(err) }
    c.SetProxyFunc(rp)

    c.OnHTML("title", func(e *colly.HTMLElement) { println(e.Text) })
    c.Visit("https://target-site.com")
    c.Wait()
}

Hinweise für Colly (Go)

Set Limit() with a Parallelism cap; Colly's async mode will otherwise open as many connections as it has URLs.

Give each parallel worker its own session token if the target ties state to an IP.

Land wechseln, ohne Colly (Go) anzufassen

Deutschlandeveses_user_country-de
Sticky, 30 Min.eveses_user_country-de_session-ab12cd34_lifetime-30m

Geo und Session leben im Benutzernamen, nicht im Host oder Port. Jede Konfiguration auf dieser Seite bleibt beim Länderwechsel unverändert — du bearbeitest einen einzigen String. 199 Länder sind adressierbar, in den meisten davon zusätzlich Stadt- und Regions-Token.

FAQ

Wie stelle ich in Colly (Go) einen Proxy ein?›
Richte es auf proxy.eveses.com, Port 12321 für HTTP oder 32325 für SOCKS5, und authentifiziere dich mit deinem eveses-Proxy-Benutzernamen und -Passwort. Die genaue Syntax steht im Snippet oben. Colly ships `proxy.RoundRobinProxySwitcher`, which rotates a fixed LIST of proxy URLs. With a rotating pool you want the opposite: one URL, and the pool rotates behind it. Feeding the switcher one URL is correct and the round-robin is simply unused.
Wie wähle ich das Land, aus dem Colly (Go) herauskommt?›
Häng einen Geo-Token an den BENUTZERNAMEN, statt den Host zu ändern: eveses_user_country-de landet in Deutschland, eveses_user_country-us in den USA. So sind 199 Länder adressierbar, Stadt- und Regions-Token grenzen weiter ein. An deiner Colly (Go)-Konfiguration ändert sich sonst nichts.
Wie behalte ich in Colly (Go) dieselbe IP über mehrere Requests?›
Füge einen Session-Token hinzu — eveses_user_country-us_session-ab12cd34_lifetime-30m — und jeder Request mit diesem Benutzernamen verlässt uns über dieselbe Adresse, bis die Lifetime abläuft. Ohne Token rotiert jeder Request auf eine frische IP.
Was kostet das?›
Residential-Traffic wird pro Gigabyte aus deinem eveses-Guthaben abgerechnet: $7.35/GB bei 1 GB, fallend auf $2.57/GB im Volumen. Es gibt keine Gebühr pro Tool, und dieselben Zugangsdaten funktionieren überall gleichzeitig.

Weitere Integrationen

Colly (Go) über Residential-IPs laufen lassen

$7.35/GB bei 1 GB, $2.57/GB im Volumen — dieselben Zugangsdaten in jedem Tool.

Proxys holen →