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

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 2903|回复: 3

大峡们帮帮忙看看这个jsp的网页怎样采!

[复制链接]
发表于 2008-8-18 16:11:38 | 显示全部楼层 |阅读模式
这个是他的页面http://211.139.229.177:9088/bstweb/nmh/jpzs.jsp?pageNum=1&term=
他是jsp的文档,下面都是使用图片的超连接的!但连接地址只有后半部分!前半部分没有!应该怎样提取了!请大家峡们帮帮忙!
蓝色部分是图片的连接地址!他的真实地址是: http://211.139.229.177:9088/bstweb/nmh/zpjj.jsp?worksId=20080602134442

<!--
Date is 2007/8/13
Author is LiuZhiQiang
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题文档</title>
<link href="../../bstcss/CSS.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function GoToPage(){
  var topage = document.authorForm.page.value.replace(/(^\s*|\s*$)/g,"");
  var term = document.authorForm.term.value;
  if(topage != ""){
   if(parseInt(topage) > 0 && (parseInt(document.authorForm.pageCount.value) > parseInt(topage) || parseInt(document.authorForm.pageCount.value) == parseInt(topage))){
    self.location="jpzs.jsp?pageNum="+topage+"&term="+term;
   }else{
    alert("目标页码输入错误!");
    return;
   }
  }
  else{
   alert("请输入目标页码!");
   return;
  }
}
</script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    </table>
      <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="10"> </td>
        </tr>
        <tr>
          <td class="text_12bluebold">首页 > 龙门农民画<font color="#ff0000">(试行)</font> > 精品展示 </td>
        </tr>
      </table>
      <table width="96%" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="120" height="10"> </td>
          <td width="11"> </td>
          <td width="142" rowspan="2" align="center" valign="bottom" class="text_16bold">精品展示</td>
          <td width="212"> </td>
          <td width="455"> </td>
        </tr>
        <tr>
          <td height="12" bgcolor="#ff8c2d"> </td>
          <td width="11" bgcolor="#ff8c2d"><img src="../../bstimages/text_titleimg1.gif" width="11" height="12"></td>
          <td bgcolor="#ff8c2d"><img src="../../bstimages/text_titleimg2.gif" width="11" height="12"></td>
          <td bgcolor="#ff8c2d"> </td>
        </tr>
</table>
      <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="1"> </td>
        </tr>
        <tr>
          <td background="../../bstimages/bg_01.gif"><img src="../../bstimages/bg_01.gif" width="3" height="1"></td>
        </tr>
        <tr>
          <td height="1"> </td>
        </tr>
        <tr>
          <td background="../../bstimages/bg_01.gif"><img src="../../bstimages/bg_01.gif" width="3" height="1"></td>
        </tr>
      </table>



<table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6" colspan="4" align="center" valign="top"></td>
        </tr>
        <tr align="center">
        
          <td valign="top" width="204"><table width="53%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td align="center"><a href="javascript:openWindow2('zpjj.jsp?worksId=20080602134224');"><img src="/resource_lib/pic/works/1212385343328small38752.gif" width="128" height="128" hspace="10" vspace="10" border="0"/></a></td>
            </tr>
            <tr>
              <td height="22" align="left" class="text"><table width="89%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作者:钟永廉</span></td>
                </tr>
                <tr>
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品名称:绿色奥运</span></td>
                </tr>
                <tr>
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品类别:奥运</span></td>
                </tr>
                <tr>
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品价格:暂无</span></td>
                </tr>
                <tr>
                  <td background="../../../bstimages/bg_01.gif"></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="javascript:openWindow('saveNmhMult.jsp?term= &worksId=20080602134224&path=/resource_lib/pic/works/1212385343328small38752.gif&worksName=绿色奥运&mmsId=null');"><img src="images/nmh_button03.gif" alt="发送" width="55" height="21" hspace="3" border="0" /></a><a href="shopCart.jsp?worksId=20080602134224&action=add"><img src="images/nmh_button02.gif" alt="发送好友" width="55" height="21" hspace="3" border="0" /></a></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
         
          <td width="1" valign="top" background="../../../bstimages/bg_2.gif"> </td>
         
          <td valign="top" width="204"><table width="53%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              
              <td align="center"><a href="javascript:openWindow2('zpjj.jsp?worksId=20080602134442');"><img src="/resource_lib/pic/works/1212385481937small38922.gif" width="128" height="128" hspace="10" vspace="10" border="0"/></a></td>
              
            </tr>
            <tr>
              <td height="22" align="left" class="text"><table width="89%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作者:梁木欢</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品名称:轮回</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品类别:奥运</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品价格:暂无</span></td>
               
                </tr>
               
                <tr>
                  <td background="../../../bstimages/bg_01.gif"></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="javascript:openWindow('saveNmhMult.jsp?term= &worksId=20080602134442&path=/resource_lib/pic/works/1212385481937small38922.gif&worksName=轮回&mmsId=null');"><img src="images/nmh_button03.gif" alt="发送" width="55" height="21" hspace="3" border="0" /></a><a href="shopCart.jsp?worksId=20080602134442&action=add"><img src="images/nmh_button02.gif" alt="发送好友" width="55" height="21" hspace="3" border="0" /></a></td>
               
                </tr>
              </table></td>
            </tr>
          </table></td>
         
          <td width="1" valign="top" background="../../../bstimages/bg_2.gif"> </td>
         
          <td valign="top" width="204"><table width="53%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              
              <td align="center"><a href="javascript:openWindow2('zpjj.jsp?worksId=20080602134525');"><img src="/resource_lib/pic/works/1212385524234small39013.gif" width="128" height="128" hspace="10" vspace="10" border="0"/></a></td>
              
            </tr>
            <tr>
              <td height="22" align="left" class="text"><table width="89%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作者:陈少圆</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品名称:马上精彩</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品类别:奥运</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品价格:暂无</span></td>
               
                </tr>
               
                <tr>
                  <td background="../../../bstimages/bg_01.gif"></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="javascript:openWindow('saveNmhMult.jsp?term= &worksId=20080602134525&path=/resource_lib/pic/works/1212385524234small39013.gif&worksName=马上精彩&mmsId=null');"><img src="images/nmh_button03.gif" alt="发送" width="55" height="21" hspace="3" border="0" /></a><a href="shopCart.jsp?worksId=20080602134525&action=add"><img src="images/nmh_button02.gif" alt="发送好友" width="55" height="21" hspace="3" border="0" /></a></td>
               
                </tr>
              </table></td>
            </tr>
          </table></td>
         
        </tr>
      </table>
      <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6"></td>
        </tr>
        <tr>
          <td background="../../../bstimages/bg_01.gif"><img src="../../../bstimages/bg_01.gif" width="3" height="1" /></td>
        </tr>
        <tr>
          <td height="1"></td>
        </tr>
        <tr>
          <td background="../../../bstimages/bg_01.gif"><img src="../../../bstimages/bg_01.gif" width="3" height="1" /></td>
        </tr>
      </table>
     
      
      
      <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6" colspan="3" align="center" valign="top"></td>
        </tr>
        <tr align="center">
        
  <td valign="top" width="204"><table width="53%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              
              <td align="center"><a href="javascript:openWindow2('zpjj.jsp?worksId=20080602134608');"><img src="/resource_lib/pic/works/1212385567828small39093.gif" width="128" height="128" hspace="10" vspace="10" border="0"/></a></td>
              
            </tr>
            <tr>
              <td height="22" align="left" class="text"><table width="89%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作者:梁木欢</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品名称:门球赛</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品类别:奥运</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品价格:暂无</span></td>
               
                </tr>
               
                <tr>
                  <td background="../../../bstimages/bg_01.gif"></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="javascript:openWindow('saveNmhMult.jsp?term= &worksId=20080602134608&path=/resource_lib/pic/works/1212385567828small39093.gif&worksName=门球赛&mmsId=null');"><img src="images/nmh_button03.gif" alt="发送" width="55" height="21" hspace="3" border="0" /></a><a href="shopCart.jsp?worksId=20080602134608&action=add"><img src="images/nmh_button02.gif" alt="发送好友" width="55" height="21" hspace="3" border="0" /></a></td>
               
                </tr>
              </table></td>
            </tr>
          </table></td>
         
          <td width="1" valign="top" background="../../../bstimages/bg_2.gif"> </td>
           
           <td valign="top" width="204">
           <table width="53%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              
              <td align="center"><a href="javascript:openWindow2('zpjj.jsp?worksId=20080602134642');"><img src="/resource_lib/pic/works/1212385601968small39160.gif" width="128" height="128" hspace="10" vspace="10" border="0"/></a></td>
              
            </tr>
            <tr>
              <td height="22" align="left" class="text"><table width="89%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作者:王汉池</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品名称:瞄准</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品类别:奥运</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品价格:暂无</span></td>
               
                </tr>
               
                <tr>
                  <td background="../../../bstimages/bg_01.gif"></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="javascript:openWindow('saveNmhMult.jsp?term= &worksId=20080602134642&path=/resource_lib/pic/works/1212385601968small39160.gif&worksName=瞄准&mmsId=null');"><img src="images/nmh_button03.gif" alt="发送" width="55" height="21" hspace="3" border="0" /></a><a href="shopCart.jsp?worksId=20080602134642&action=add"><img src="images/nmh_button02.gif" alt="发送好友" width="55" height="21" hspace="3" border="0" /></a></td>
               
                </tr>
              </table></td>
            </tr>
          </table></td>
           
          <td width="1" valign="top" background="../../../bstimages/bg_2.gif"> </td>
         
          <td valign="top" width="204">
          <table width="53%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              
              <td align="center"><a href="javascript:openWindow2('zpjj.jsp?worksId=20080602134815');"><img src="/resource_lib/pic/works/1212385694140small39297.gif" width="128" height="128" hspace="10" vspace="10" border="0"/></a></td>
              
            </tr>
            <tr>
              <td height="22" align="left" class="text"><table width="89%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作者:谢宝锋</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品名称:呐喊助威</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品类别:奥运</span></td>
               
                </tr>
                <tr>
               
                    <td height="22" align="left" class="text"><span class="text_12redbold"> 作品价格:暂无</span></td>
               
                </tr>
               
                <tr>
                  <td background="../../../bstimages/bg_01.gif"></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="javascript:openWindow('saveNmhMult.jsp?term= &worksId=20080602134815&path=/resource_lib/pic/works/1212385694140small39297.gif&worksName=呐喊助威&mmsId=null');"><img src="images/nmh_button03.gif" alt="发送" width="55" height="21" hspace="3" border="0" /></a><a href="shopCart.jsp?worksId=20080602134815&action=add"><img src="images/nmh_button02.gif" alt="发送好友" width="55" height="21" hspace="3" border="0" /></a></td>
               
                </tr>
              </table></td>
            </tr>
          </table></td>
         
        </tr>
      </table>
      <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6"></td>
        </tr>
        <tr>
          <td background="../../../bstimages/bg_01.gif"><img src="../../../bstimages/bg_01.gif" width="3" height="1" /></td>
        </tr>
        <tr>
          <td height="1"></td>
        </tr>
        <tr>
          <td background="../../../bstimages/bg_01.gif"><img src="../../../bstimages/bg_01.gif" width="3" height="1" /></td>
        </tr>
      </table>
      
<form name="authorForm" action="" method="post">  
  <table width="94%" height="26" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="4" class="text"><br/>
        </tr>
        <tr><td valign="top"><br /></td></tr><tr>
          <td class="text" align="right">
          <a href="jpzs.jsp?pageNum=1&term= ">首页</a>
          <a href="jpzs.jsp?pageNum=1&term= ">上一页</a>
          <a href="jpzs.jsp?pageNum=3&term= ">下一页</a>
          <a href="jpzs.jsp?pageNum=34&term= ">尾页</a>
          当前第<span class="text_12redbold">2</span>页 共<span class="text_12redbold">34</span>页 共<span class="text_12redbold">199</span>条记录  
          转到第<input name="page" type="text" class="input" size="4" maxlength="6" value="2"  >页<input name="GoPage" type="button" value="GO"  /></td>
        </tr>
      </table>
      <input type="hidden" name="pageCount" value="34"/>
      <input type="hidden" name="term" value=" "/>
</form>
</body>
</html>
<script language="javascript">
var newWindow = null ;
function openWindow(url){
  if(newWindow != null){
   newWindow.close();
   newWindow = null;
  }
  newWindow = window.open(url,'','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,width=350,height=250,left=200,top=100');
}

var newWindow2 = null ;
function openWindow2(url2){
  if(newWindow2 != null){
   newWindow2.close();
   newWindow2 = null;
  }
  newWindow2 = window.open(url2,'','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,width=450,height=450,left=200,top=100');
}
</script>

[ 本帖最后由 athoon 于 2008-8-18 16:12 编辑 ]
发表于 2008-8-18 16:37:56 | 显示全部楼层
不知道你要采集什么。

如果是采集该页面内容的话,用替换好了,

将  javascript:openWindow2('zpjj.jsp

替换成 javascript:openWindow2(' http://211.139.229.177:9088/bstweb/nmh/zpjj.jsp

就可以了。

评分

1

查看全部评分

 楼主| 发表于 2008-8-18 18:08:51 | 显示全部楼层
我要采的地址啊!请问版主要怎样采集了?

[ 本帖最后由 athoon 于 2008-8-18 18:10 编辑 ]
发表于 2008-8-20 15:47:52 | 显示全部楼层

大峡们帮帮忙看看这个jsp的网页怎样采!

这是我做的一个规则,你看看,这个能采集图片,图片名称,介绍

本帖子中包含更多资源

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

x
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2026-4-21 13:18

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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