[英]Using http forms and getting data from web by selenium or standard HTTP post get in c#?
I did not know how to name my topic. 我不知道该如何命名我的话题。 My plan is to get from web, some data. 我的计划是从网络中获取一些数据。 Some data return from submiting values into form. 一些数据从提交值返回到表单中。 And that form is on the web. 该表格在网络上。
I wonder, what would be faster: 我想知道什么会更快:
My aim is to get very fast data and many times in minute. 我的目标是在几分钟内获得非常快的数据并且多次。 Can anybody give me any suggestion, which one would be the best? 谁能给我任何建议,哪个是最好的?
PS. PS。 please correct my English, sorry. 请更正我的英语,对不起。
You can probably make something that is reasonanly fast in C#, at least faster than using Selenium. 您可能可以在C#中完成相当快的操作,至少比使用Selenium更快。 Use HTML Agility Pack to avoid reinventing the wheel. 使用HTML Agility Pack避免重新发明轮子。
However, somethings might be easier to do in Selenium, since it accurately replicates a real user. 但是,由于Selenium可以精确地复制真实用户,因此在Selenium中执行某些操作可能会更容易。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.