roenlee 发表于 2010-10-10 19:50:14

请大虾帮忙,怎么采集网页中的用户id信息?

比如,网页的源代码如下:
怎么设置采集内容,可以只采集所有ppuid后面的id号码:1889704

偶是刚接触火车头采集器的菜鸟,自己弄了一天,没搞出来。麻烦大虾出来帮啊!谢谢。



<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>

<body>

<p>.</p>
<ul class="pics clearfix">
        <li class="bunny_ears">
        <div class="user_pic_wrap" id="ppuid1889704">
                <a class="link_salute" onmouseover="pp_ajaxtooltip('1889704', this, event, 0);" onmouseout="hidetip(event);" href="http://fubar.com/seasong">
                <img class="fubaruserimage" src="http://b.pcb1.fubar.com/40/79/1889704/tn_3284164984.jpg"></a></div>
        </li>
                <li class="bunny_ears">
        <div class="user_pic_wrap" id="ppuid799766">
                <a class="link_salute" onmouseover="pp_ajaxtooltip('799766', this, event, 0);" onmouseout="hidetip(event);" href="http://fubar.com/799766">
                <img class="fubaruserimage" src="http://b.pcc4.fubar.com/66/79/799766/tn_2101200581.gif"></a></div>
        </li>
</ul>

</body>

</html>

lypying 发表于 2010-10-10 20:31:48

这哪是一言半语说的清楚的 联系我吧 1 7547523

roenlee 发表于 2010-10-10 20:38:35

回复 2# lypying


你留的是QQ号码?还是。

lypying 发表于 2010-10-10 20:43:36

QQ号码 17547523 手艺得瑟多打个空格

roenlee 发表于 2010-10-10 20:52:59

回复 4# lypying


我查到的是:手刀断水呢ali75ls
你加我行吧,谢谢了。QQ:332455226,之然
页: [1]
查看完整版本: 请大虾帮忙,怎么采集网页中的用户id信息?