http://www.newrank.cn/public/...
How to simulate a search request to get the returned json data
No data returned. How to solve this situation
我想大声告诉你2017-05-17 10:07:51
There are many situations that can lead to such a result. The more common one is, 请求头
的内容没有包含服务器需要信息, 或者是cookies
里面的内容, 没有包含服务器需要的信息, 所以被服务器判断为爬虫, 所以无法取得正常的结果. 你可以试下将浏览器的请求头
和cookies
分别拷贝到你的程序中再去请求, 如果还是不行, 只能用类似fiddler
This kind of tool will do a detailed analysis
给我你的怀抱2017-05-17 10:07:51
Some requests require a Referer to request data, or some require cookie verification. You need to check whether previous successful cases are restricted by these conditions!