Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

请教一下大佬,为啥自己设置了user-agent就爬取不到数据了 #14

Closed
shimachao opened this issue Mar 14, 2019 · 1 comment

Comments

@shimachao
Copy link

我试了一下,如果自己将user-agent设置为真实浏览器的ua,就会出现第一个请求被重定向到一个奇怪的地址,然后就爬不到数据了。

@Aqua-Dream
Copy link
Owner

在哪里设UA,具体设成什么,重定向的地址是什么,我一问三不知

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants