简体   繁体   中英

How to fill textareas and select option (select tag) and hit submit (input tag) via python?

I work with python and data mine some content which I categorize into different categories.

Then I go to a specific webpage and submit manually the results.

Is there a way to automate the process? I guess this is a "form-submit" thread but I haven't seen any relevant module in Python. Can you suggest me something?

Selenium Webdriver is the most popular way to drive web pages, but Python also has beautifulsoup; Either library will work.

如果您想自动执行此操作,则必须查看在表单中发送了哪些参数,并直接从您的python应用程序向此端点发出请求,或者搜索一个模拟浏览器并填写表单的程序包,但我认为正确的方法是直接从您的应用发出请求

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM