mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-28 17:50:56 +01:00
加入scrapy items.py支持
This commit is contained in:
@@ -6,7 +6,12 @@ type SpiderType struct {
|
||||
}
|
||||
|
||||
type ScrapySettingParam struct {
|
||||
Key string
|
||||
Value interface{}
|
||||
Type string
|
||||
Key string `json:"key"`
|
||||
Value interface{} `json:"value"`
|
||||
Type string `json:"type"`
|
||||
}
|
||||
|
||||
type ScrapyItem struct {
|
||||
Name string `json:"name"`
|
||||
Fields []string `json:"fields"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user