在窗口应用程序中从URL获取特定数据 [英] getting specific data from URL in window application

查看:64
本文介绍了在窗口应用程序中从URL获取特定数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,我想从通常存在于DIV和subdiv中的URL获取特定数据的问题,我已经使用Web客户端从url下载所有数据,但无法从存在的Web中查找或提取特定数据div中有解决此问题的任何方法,请快速回复我

这是一些代码..

hi friends there is a problem i want to get specific data from URL which is usually present in DIV and subdiv, i have use web client to download all data from url but cant find or extract the specific data from web that is present in div is there any way to resolve this, please reply me quickly

here is some code..

using (WebClient client = new WebClient())
            {
                client.DownloadFile("http://abc.com", "C:\\abc\\as.txt");
            }

推荐答案

基本上,这是 Web抓取的常见问题:
http://en.wikipedia.org/wiki/Web_scraping [从网页中获取特定数据 [如何从另一个站点获取数据 [ ^ ].

祝你好运,
—SA
Basically, this is a usual problem of Web scraping:
http://en.wikipedia.org/wiki/Web_scraping[^].

Please see my past answer:
get specific data from web page[^].

And also this one:
How to get the data from another site[^].

Good luck,
—SA


这篇关于在窗口应用程序中从URL获取特定数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆