How can I simulate IP capture to collect Baidu search result data based on regional IP addresses? The data obtained by Baidu is determined based on the IP address of the region, and the results are different. for example, when users in Beijing and Guangdong search for hospital keywords, the displayed division results are different. Now I want to capture Baidu's results by simulating IP addresses. I use CURL to simulate IP addresses and sources, but the results are ineffective.
Reply to discussion (solution)
Are all different IP addresses consistent?
Different IP addresses, for example, I want to query the search results of Guangdong and simulate an Ip address of Guangdong. query the ranking of keywords in Shanghai and simulate an Ip address in Shanghai. I use curl to simulate the IP address, but the result is still the IP address of the current server.
Are all different IP addresses consistent?
Different IP addresses, for example, I want to query the search results of Guangdong and simulate an Ip address of Guangdong. query the ranking of keywords in Shanghai and simulate an Ip address in Shanghai. I use curl to simulate the IP address, but the result is still the IP address of the current server.
Can it be simulated? You can only use the proxy ip address.
Can it be simulated? You can only use the proxy ip address.
I used curl for IP address simulation and source address simulation. Two php files are written locally, which is acceptable for testing, but it does not work when I simulate IP requests to Baidu.
The IP address cannot be simulated. Establishing a TCP/IP connection must be a real IP address.
You can only use the proxy server
Can you post your curl statement?