How to programmatically log in to a website to screenscape?

后端 未结 5 1424
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 20:19

I need some information from a website that\'s not mine, in order to get this information I need to login to the website to gather the information, this happens through a HT

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 20:20

    You need to use the HTTPWebRequest and do a POST. This link should help you get started. The key is, you need to look at the HTML Form of the page you're trying to post from to see all the parameters the form needs in order to submit the post.

    http://www.netomatix.com/httppostdata.aspx

    http://geekswithblogs.net/rakker/archive/2006/04/21/76044.aspx

提交回复
热议问题