开发者

On Windows Phone, can I view the source of a URL, if the URL itself is known?

开发者 https://www.devze.com 2023-02-03 08:01 出处:网络
and thanks for looking. Imagine your standard barebones Windows Phone app. Say, I开发者_开发问答 have a URL in mind. I want to be able to view the HTML source for that URL, because I\'m looking for p

and thanks for looking.

Imagine your standard barebones Windows Phone app. Say, I开发者_开发问答 have a URL in mind. I want to be able to view the HTML source for that URL, because I'm looking for particular info that is on that page. Is there any way to do this?

Peace.


You can pull down the html for any page using HttpWebRequest. This project demonstrates that among other things.

WebClient, HttpWebRequest and the UI Thread on Windows Phone 7

If scraping data from webpages, be sure to verify the rights granted by the site's owner for that purpose.

0

精彩评论

暂无评论...
验证码 换一张
取 消