Watch 1 Star 0 Fork 0

Memory_Leak / spiderJava

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
simple spider spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
ReadMe.md

#simple spider(java)

##简介

  • 基于jsoup开发
  • 使用xml和注解进行配置 ###xml示例

    <?xml version="1.0" encoding="UTF-8"?>
    <spiders>
    <spider url="http://new.sousuo.gov.cn/column/19769/0.htm"
            item="ul.list01 > li > a"
            next=".next">
        <orm class="cn.cnysa.spider.data.Article"
             result="cn.cnysa.spider.data.ShowResult">
            <property name="title" selector=".pages-title"/>
            <property name="content" selector=".pages_content"/>
        </orm>
    </spider>

Comments ( 0 )

You need to Sign in for post a comment

Help Search

Gitee_sixth 5th_float_left_close