如何从社交网络中的网页中提取好友列表? [英] how can extract friends list from a web page in social network?
本文介绍了如何从社交网络中的网页中提取好友列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过C#从网页上提取朋友列表,比如在线社交网络,我该怎么办?
我知道如何提取来自网页的href标签,但我不知道如何提取朋友列表!!!
我之前读过这篇文章:
http://www.codeproject。 com / Articles / 662492 / Creating-Link-Extractor-and-Filter-in-Csharp-Part
我将非常感谢你的帮助。
非常感谢。
Hi,
I want to extract list of friends from a web page such as an online social network by C#, what could i do?
I know how extract "href" tags from web page but i do not know how extract friends list !!!
I read this article before:
"http://www.codeproject.com/Articles/662492/Creating-Link-Extractor-and-Filter-in-Csharp-Part"
I would appreciate your help.
thanks a lot.
推荐答案
没有标准的方法来定义朋友列表,因此需要逐个站点地处理,因为它们都会以不同的方式实现。您可以更好地使用网站提供的任何API,而不是屏幕抓取网址,因为这是更好的方式。
There is no standard way of defining a "friends list" so this will need to tackled on a site by site basis as they will all implement things differently. Rather than screen-scraping urls, you're better using any APIs supplied by the site as that is by far the better way.
这篇关于如何从社交网络中的网页中提取好友列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文