feeops

Results 29 comments of feeops

I use this code ``` package main import ( "fmt" "github.com/go-rod/rod" "github.com/go-rod/rod/lib/launcher" "github.com/go-rod/stealth" "time" ) func main() { l := launcher.New() l.Devtools(false) l.Headless(true) l.NoSandbox(true) u, err := l.Launch() if err...

playwright or browserless or puppeteer can do it. this is playwright code. ``` package main import ( stealth "github.com/jonfriesen/playwright-go-stealth" "github.com/playwright-community/playwright-go" "log" "os" ) func main() { pw, err := playwright.Run()...

Do go-rod has a function like PageGotoOptions in playwright or puppeteer?

> [`page.Navigate()`](https://github.com/go-rod/rod/blob/0096e531a49c82f272f5661eabe755d2e7c1eb61/page.go#L180) clears the referrer when calling `proto.PageNavigate()`, but calling `proto.PageNavigate()` directly seems to work. > > ``` > url := "https://foo.com" > ref := "https://bar.com" > _, err =...

能跟长亭雷池waf结合么?

> 你这样做可以连接复用吗,每次新建一个连接 切换一个ip ,在高并发场景下 有哪个代理公司有这么多ip可以给你随便切换,很好奇,可以介绍下这个代理吗 连接不能复用,这些代理公司的IP地址池有上百万甚至上千万个IP

> > 市面上很多代理公司都在卖一种轮转代理,即代理proxyURL是固定的,每次连接都会换新的IP地址 > > 使用req库连接代理时,必须开启DisableKeepAlives(),高并发建议每个协程都创建一个新的req client > > 不然代理IP重复率较高 > > 我目前就是这样做的,如果大家有类似经验,有更好的实践可以分享一下 > > 每次代理都会自动换新IP,为什么重复率还是很高呢? 开新的连接才会换新IP,使用老连接就还是旧IP

> > > > 市面上很多代理公司都在卖一种轮转代理,即代理proxyURL是固定的,每次连接都会换新的IP地址 > > > > 使用req库连接代理时,必须开启DisableKeepAlives(),高并发建议每个协程都创建一个新的req client > > > > 不然代理IP重复率较高 > > > > 我目前就是这样做的,如果大家有类似经验,有更好的实践可以分享一下 > > > > > > > > >...

可以使用这个第三方golang 运行时,可以支持win7 https://github.com/thongtech/go-legacy-win7