如何获得webste的联系页面的路径 [英] how to get path of contact page of a webste
本文介绍了如何获得webste的联系页面的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Plz先生,请帮助我如何获取网站的所有文件名。其实我正在尝试使用Windows应用程序获取任何网站的联系页面。当我将一个URL放在一个文本框中并单击一个按钮时,它将显示该网站的联系页面。
Plz sir kindly help me how can i get all file names of a website. Actually i am trying to fetch the contact page of any website using windows application. When i will put a url in a textBox and click on a button it will show the contact page of that website.
推荐答案
你不能直接这样做。您可以做的最好的事情是使用像谷歌和其他搜索引擎这样的网络抓取工具,检查页面上的所有超链接,然后关注它们,直到找到类似于联系我们页面的内容。
这听起来像个糟糕的主意,除非你只是为了好玩。
You can't do it directly. The best you can do is use a web crawler like google and other search engines do by examining all the hyperlinks on a page and then following them until you find something that looks like a contact us page.
This sounds like a terrible idea unless you're doing it just for fun.
这篇关于如何获得webste的联系页面的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文