Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

这样的分页如何采集呢?

[复制链接]
kakashow 发表于 2009-9-25 14:31:26 | 显示全部楼层 |阅读模式
本帖最后由 kakashow 于 2009-9-25 14:32 编辑

刚才用littlehz的ss7.5进行了采集。采集对象http://digital.1m3d.com/more/62588/ZhuaW_geDhangQ_Yjian-1/1/

浏览器点击查看-查看源代码,记事本弹出,找到其中的分页代码
  1.         <div class="viciao"><script language="javascript">document.write(getArticlePage(window.location.href));</script></div>
  2.        
  3.         <!--pagelayout_define_start-->
复制代码
这样的分页,ss编辑采集规则该怎么办呢?

偶用的是maxthon,用鼠标只选择分页区域查看代码,结果竟能出现如下代码:
  1. <DIV class=viciao>
  2. <SCRIPT language=javascript>document.write(getArticlePage(window.location.href));</SCRIPT>
  3. <SPAN class=current>1</SPAN><FONT class=disabled><A href="/a/9198294-2.shtml"
  4. target=_self>2</A></FONT><FONT class=disabled><A href="/a/9198294-3.shtml"
  5. target=_self>3</A></FONT><FONT class=disabled><A href="/a/9198294-4.shtml"
  6. target=_self>4</A></FONT><FONT class=disabled><A href="/a/9198294-5.shtml"
  7. target=_self>5</A></FONT><FONT class=disabled><A href="/a/9198294-6.shtml"
  8. target=_self>6</A></FONT><FONT class=disabled><A href="/a/9198294-7.shtml"
  9. target=_self>7</A></FONT><FONT class=disabled><A href="/a/9198294-8.shtml"
  10. target=_self>8</A></FONT><FONT class=disabled><A href="/a/9198294-9.shtml"
  11. target=_self>9</A></FONT><FONT class=disabled><A class=disabled
  12. href="/a/9198294-2.shtml" target=_self>下一页</A></FONT></DIV><!--pagelayout_define_start-->
复制代码
但是用上述的代码制作分页规则ss仍然无法识别。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-14 02:26 , Processed in 0.097108 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表