We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
用gout 爬取百度的数据不行 下面这个库就行
https://github.com/chzyer/go-fetcher
test.zip
The text was updated successfully, but these errors were encountered:
test.zip 测试代码
Sorry, something went wrong.
我知道了,和User-Agent http header有关系。 临时做法,可以通过SetHeader修改这个字段的默认值。
SetHeader(gout.H{"User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) "})
No branches or pull requests
用gout 爬取百度的数据不行
下面这个库就行
https://github.com/chzyer/go-fetcher
test.zip
The text was updated successfully, but these errors were encountered: