• 大小: 0.27M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-23
  • 标签: 网络  爬虫  

资源简介

java 网络爬虫

资源截图

代码片段和文件信息

package com.zhy.spider.bean;

public class linkTypeData
{
private int id;
/**
 * 链接的地址
 */
private String linkHref;
/**
 * 链接的标题
 */
private String linkText;
/**
 * 摘要
 */
private String summary;
/**
 * 内容
 */
private String content;
public int getId()
{
return id;
}
public void setId(int id)
{
this.id = id;
}
public String getlinkHref()
{
return linkHref;
}
public void setlinkHref(String linkHref)
{
this.linkHref = linkHref;
}
public String getlinkText()
{
return linkText;
}
public void setlinkText(String linkText)
{
this.linkText = linkText;
}
public String getSummary()
{
return summary;
}
public void setSummary(String summary)
{
this.summary = summary;
}
public String getConten

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        494  2014-04-09 14:13  SpliderDemo\.classpath

     文件        387  2014-04-09 11:29  SpliderDemo\.project

     文件        598  2014-04-09 11:29  SpliderDemo\.settings\org.eclipse.jdt.core.prefs

     文件       1737  2014-04-09 14:13  SpliderDemo\bin\com\zhy\spider\bean\linkTypeData.class

     文件       3944  2014-04-09 14:17  SpliderDemo\bin\com\zhy\spider\core\ExtractService.class

     文件       2044  2014-04-09 14:14  SpliderDemo\bin\com\zhy\spider\rule\Rule.class

     文件        746  2014-04-09 14:13  SpliderDemo\bin\com\zhy\spider\rule\RuleException.class

     文件       2182  2014-04-09 14:24  SpliderDemo\bin\com\zhy\spider\test\Test.class

     文件        545  2014-04-09 14:13  SpliderDemo\bin\com\zhy\spider\util\TextUtil.class

     文件     297387  2014-04-09 11:35  SpliderDemo\lib\jsoup-1.7.3.jar

     文件       1150  2014-04-09 12:18  SpliderDemo\src\com\zhy\spider\bean\linkTypeData.java

     文件       3110  2014-04-09 14:17  SpliderDemo\src\com\zhy\spider\core\ExtractService.java

     文件       2003  2014-04-09 14:14  SpliderDemo\src\com\zhy\spider\rule\Rule.java

     文件        539  2014-04-09 13:51  SpliderDemo\src\com\zhy\spider\rule\RuleException.java

     文件       1170  2014-04-09 14:24  SpliderDemo\src\com\zhy\spider\test\Test.java

     文件        207  2014-04-09 13:53  SpliderDemo\src\com\zhy\spider\util\TextUtil.java

     目录          0  2014-04-09 14:25  SpliderDemo\bin\com\zhy\spider\bean

     目录          0  2014-04-09 14:25  SpliderDemo\bin\com\zhy\spider\core

     目录          0  2014-04-09 14:25  SpliderDemo\bin\com\zhy\spider\rule

     目录          0  2014-04-09 14:25  SpliderDemo\bin\com\zhy\spider\test

     目录          0  2014-04-09 14:25  SpliderDemo\bin\com\zhy\spider\util

     目录          0  2014-04-09 14:25  SpliderDemo\src\com\zhy\spider\bean

     目录          0  2014-04-09 14:25  SpliderDemo\src\com\zhy\spider\core

     目录          0  2014-04-09 14:25  SpliderDemo\src\com\zhy\spider\rule

     目录          0  2014-04-09 14:25  SpliderDemo\src\com\zhy\spider\test

     目录          0  2014-04-09 14:25  SpliderDemo\src\com\zhy\spider\util

     目录          0  2014-04-09 14:25  SpliderDemo\bin\com\zhy\spider

     目录          0  2014-04-09 14:25  SpliderDemo\src\com\zhy\spider

     目录          0  2014-04-09 14:25  SpliderDemo\bin\com\zhy

     目录          0  2014-04-09 14:25  SpliderDemo\src\com\zhy

............此处省略10个文件信息

评论

共有 条评论