从网站获取帖子和用户名 [英] Get posts and username from website

查看:72
本文介绍了从网站获取帖子和用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://img219.imageshack.us/img219/8692/ssgc.jpg


上面的图片由两个不同的用户显示为帖子"..
我希望将每个帖子和用户名复制到一个日志"中.我如何获得
需要的信息. (用户名以及用户在主题中发布的内容)

http://img219.imageshack.us/img219/8692/ssgc.jpg


The picture above shows to "posts", by two different users..
I want each posts and username copied into a "log". How can i get the
info needed. (Username, and what the user posted in the topic)

推荐答案

除非该站点具有供您使用的API,否则唯一的方法就是屏幕抓取,但它易碎且不可靠.
Unless the site has an API for you to use the only way is screen scraping but it is fragile and unreliable.


这篇关于从网站获取帖子和用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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