如何从另一个网站数据库(例如搜索引擎)中提取数据 [英] how to extract data from another website database like as search engine

查看:92
本文介绍了如何从另一个网站数据库(例如搜索引擎)中提取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从另一个网站数据库(例如搜索引擎)提取数据.

How to extract data from another website database like as search engine.

推荐答案

您不能从另一个网站提取数据.没有人会公开自己的数据库供外界浏览.

您可以做的最大事情是在其他网站上搜索,然后尝试抓取网页并在您的网站上显示结果.
You cannot extract data from another website. Nobody would expose their database for outside world to sniff around.

What maximum you can do is search on others website and then try to scrap-webpage and show the result on yours.


您应该使用正则表达式. C#提供了一个名称空间System.Text.RegularExpression,使您可以进行Web剪贴(有关更多信息,请参见: http://www.c-sharpcorner.com/uploadfile/prasad_1/regexppsd12062005021717am/regexppsd.aspx )
You should use regex. C# provides a name space System.Text.RegularExpression which makes you possible to do web scrapping (more on this:http://www.c-sharpcorner.com/uploadfile/prasad_1/regexppsd12062005021717am/regexppsd.aspx)


这篇关于如何从另一个网站数据库(例如搜索引擎)中提取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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