python - Could you please tell me how to use post in the crawler to select the province variable option of the web page and get the web page that selects the option?
高洛峰
高洛峰 2017-05-18 10:58:25
0
2
835

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?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
左手右手慢动作

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

阿神

Please operate it and see what requests are initiated, simulating user operations, it’s too unreliable

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!