-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
默认并未使用http2.0 #20
Comments
可以附上代码吗?涉及私密的地方可以用*代替,但请不要忽略不写。 |
代码比较复杂,涉及到逆向,抖音网页版全站都是http2.0的,您可以试一下,抓包出来的结果是http1.1的 |
rawurl := "https://www.douyin.com/aweme/v1/web/aweme/post/?" 这里是测试代码 |
新版本已更新,请你更新到1.1.0以后尝试一下看看 |
依旧不行,这里是测试代码,TestRequest是使用requests请求,TestHTTP是使用net/HTTP请求,net/HTTP正常而requests库失败,请求的页面为抖音网页版用户已发布的视频列表页 `package main import ( func TestRequest() { func TestHTTP() { |
另外,没有做到io复用,虽然代码看到有写 |
最新版也不行,这个网址可以测试 https://tools.scrapfly.io/api/fp/akamai?extended=1 |
如图,请求抖音,图一python,图二go,并没有发现http2协商过程,有没有一种方案可以强制设置http2.0
The text was updated successfully, but these errors were encountered: