找回密码

火车采集器软件交流官方论坛

搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 3581|回复: 6

求助,类似于下面图片里的切换标签,怎么采集内容?谢...

[复制链接]
发表于 2017-3-6 11:04:38 | 显示全部楼层 |阅读模式


分食材介绍、搭配宜忌、菜谱做法、相关文章四个切换

如何用火车头采集里面的内容?

请高手帮忙分析下,谢谢了!!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入会员

x
发表于 2017-3-6 11:08:49 | 显示全部楼层
看下源码是否有相关数据
 楼主| 发表于 2017-3-6 11:11:30 | 显示全部楼层
leweizxl 发表于 2017-3-6 11:08
看下源码是否有相关数据

源码是:
  1. <span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"><div <span class="html-attribute-name">class</span>="<span class="html-attribute-value">tabmenu</span>"></span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"><a <span class="html-attribute-name">href</span>="<a class="html-attribute-value html-external-link" target="_blank" href="http://www.cnys.com/shicai/33046.html">/shicai/33046.html</a>" <span class="html-attribute-name">class</span>="<span class="html-attribute-value">on</span>"></span><span style="color: rgb(0, 0, 0); font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;">食材介绍</span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"></a></span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"><a <span class="html-attribute-name">href</span>="<a class="html-attribute-value html-external-link" target="_blank" href="http://www.cnys.com/shicai/33046_dapei.html">/shicai/33046_dapei.html</a>"></span><span style="color: rgb(0, 0, 0); font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;">搭配宜忌</span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"></a></span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"><a <span class="html-attribute-name">href</span>="<a class="html-attribute-value html-external-link" target="_blank" href="http://www.cnys.com/shicai/33046_caipu.html">/shicai/33046_caipu.html</a>"></span><span style="color: rgb(0, 0, 0); font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;">菜谱做法</span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"></a></span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"><a <span class="html-attribute-name">href</span>="<a class="html-attribute-value html-external-link" target="_blank" href="http://www.cnys.com/shicai/33046_news.html">/shicai/33046_news.html</a>"></span><span style="color: rgb(0, 0, 0); font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;">相关文章</span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"></a></span><span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"></div></span><span style="color: rgb(0, 0, 0); font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;">
  2. </span>
复制代码


每个都是想对应的地址,难道是用分页做??
 楼主| 发表于 2017-3-6 11:12:33 | 显示全部楼层
leweizxl 发表于 2017-3-6 11:08
看下源码是否有相关数据

<div class="tabmenu"><a href="/shicai/33046.html" class="on">食材介绍</a><a href="/shicai/33046_dapei.html">搭配宜忌</a><a href="/shicai/33046_caipu.html">菜谱做法</a><a href="/shicai/33046_news.html">相关文章</a></div>


这是源码,请大神帮忙分析一下
发表于 2017-3-6 11:40:31 | 显示全部楼层
191874905 发表于 2017-3-6 11:12
食材介绍搭配宜忌菜谱做法相关文章

可以做多页处理  http://www.locoy.com/index/guide#关联多页.html
 楼主| 发表于 2017-3-6 11:55:27 | 显示全部楼层
leweizxl 发表于 2017-3-6 11:40
可以做多页处理  http://www.locoy.com/index/guide#关联多页.html

谢谢大神,看来我猜对了,我了解下
 楼主| 发表于 2017-3-6 17:01:15 | 显示全部楼层
leweizxl 发表于 2017-3-6 11:40
可以做多页处理  http://www.locoy.com/index/guide#关联多页.html

搞定了,谢谢大神!!!
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

温馨提示:建议您联系官方定制服务,通过官方支付方式完成支付。您与其他非官方账号发生的交易,我方概不承担责任。网络有风险,交易需谨慎

QQ| 手机版|Archiver| 火车采集器官方站

Copyright © 2001-2013 Comsenz Inc.  Template by Comeings! All Rights Reserved.

Powered by Discuz! X3.4( 皖ICP备06000549 )

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