wangluozhe / requests

用于快速请求HTTP或HTTPS,并支持修改ja3、ja4指纹
GNU General Public License v3.0
417 stars 93 forks source link

不支持http2 协议 #30

Closed gospider007 closed 1 year ago

gospider007 commented 1 year ago
package main
import (
    "log"

    "github.com/wangluozhe/requests"
)
func main() {
    r, err := requests.Get("https://tools.scrapfly.io/api/fp/akamai", nil)
    if err != nil {
        log.Panic(err)
    }
    log.Print(r.Text)
}
Bad HTTP version - only for HTTP/2.0
wangluozhe commented 1 year ago

后续将会在非ja3时支持http2协议,暂时可用req.JA3 = "..."激活http2协议。