Please tell me how to simulate the drop-down menu options of this web page (http://wwwold.ipe.org.cn/poll..., such as regions, prefecture-level cities, etc.) using python, and Click Query, click Query for this option<input type="submit" name="btn_search" value="Query" id="btn_search">, select the provincial area for this option<option value=""> --Provincial Administrative Regions--</option> , how to use post in Python to simulate selecting provincial regions and click query?
ringa_lee2017-05-18 11:00:25
The speed of crawling through simulated clicks is too slow. You can remove all the provinces and regions in the drop-down box first, and then directly transfer the parameters to crawl the result page
阿神2017-05-18 11:00:25
Please operate it and see what requests are initiated, simulating user operations, it’s too unreliable