Skip to content

Commit

Permalink
完善filetest规则demo
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Jun 2, 2016
1 parent a04697f commit 605bf3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filetest.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ var FileTest = &Spider{
Url: "https://www.baidu.com/img/bd_logo1.png",
Rule: "百度图片",
ConnTimeout: -1,
DownloaderID: 1,
DownloaderID: 0, //图片等多媒体文件必须使用0(surfer surf go原生下载器)
})
ctx.AddQueue(&request.Request{
Url: "https://github.com/henrylee2cn/pholcus",
Rule: "Pholcus页面",
ConnTimeout: -1,
DownloaderID: 1,
DownloaderID: 0, //文本文件可使用0或者1(0:surfer surf go原生下载器;1:surfer plantomjs内核)
})
},

Expand Down

0 comments on commit 605bf3a

Please sign in to comment.