Skip to content

Commit

Permalink
规范规则库的公共维护准则
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Jan 17, 2017
1 parent a087792 commit 957d189
Show file tree
Hide file tree
Showing 25 changed files with 39 additions and 5 deletions.
0 IJGUC.go → IJGUC/IJGUC.go
100755 → 100644
File renamed without changes.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

[Pholcus](https://github.com/henrylee2cn/pholcus) 用户公共维护的spider爬虫规则库。

## 维护规范

- 欢迎每个用户分享自己的爬虫规则
- 每个规则放在单一个独的子目录
- 新增规则最好提供README.md
- 新增规则时,须在根目录 `pholcus_lib.go` 文件的import组中添加类似`_ "github.com/henrylee2cn/pholcus_lib/jingdong"`的包引用声明
- 新增规则时,须在根目录README.md(本文档)的 `爬虫规则列表` 中按子目录名`a-z`的顺序插入一条相应的规则记录
- 维护旧规则时,应在规则文件或相应README.md中增加修改说明:如修改原因、修改时间、署名等


## 爬虫规则列表

|文件(夹)名称|爬虫规则描述|
|---|---|
|alibaba|阿里巴巴产品搜索|
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions lib.go

This file was deleted.

File renamed without changes.
0 people.go → people/people.go
100755 → 100644
File renamed without changes.
27 changes: 27 additions & 0 deletions pholcus_lib.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package pholcus_lib

import (
_ "github.com/henrylee2cn/pholcus_lib/IJGUC"
_ "github.com/henrylee2cn/pholcus_lib/alibaba"
_ "github.com/henrylee2cn/pholcus_lib/baidunews"
_ "github.com/henrylee2cn/pholcus_lib/baidusearch"
_ "github.com/henrylee2cn/pholcus_lib/car_home"
_ "github.com/henrylee2cn/pholcus_lib/filetest"
_ "github.com/henrylee2cn/pholcus_lib/ganji_gongsi"
_ "github.com/henrylee2cn/pholcus_lib/googlesearch"
_ "github.com/henrylee2cn/pholcus_lib/hollandandbarrett"
_ "github.com/henrylee2cn/pholcus_lib/jdsearch"
_ "github.com/henrylee2cn/pholcus_lib/jingdong"
_ "github.com/henrylee2cn/pholcus_lib/kaola"
_ "github.com/henrylee2cn/pholcus_lib/lewa"
_ "github.com/henrylee2cn/pholcus_lib/miyabaobei"
_ "github.com/henrylee2cn/pholcus_lib/people"
_ "github.com/henrylee2cn/pholcus_lib/shunfenghaitao"
_ "github.com/henrylee2cn/pholcus_lib/taobao"
_ "github.com/henrylee2cn/pholcus_lib/taobaosearch"
_ "github.com/henrylee2cn/pholcus_lib/wangyi"
_ "github.com/henrylee2cn/pholcus_lib/weibo_fans"
_ "github.com/henrylee2cn/pholcus_lib/zolpc"
_ "github.com/henrylee2cn/pholcus_lib/zolphone"
_ "github.com/henrylee2cn/pholcus_lib/zolslab"
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 957d189

Please sign in to comment.