Skip to content

Commit dcf399d

Browse files
authored
Update Spider.md
1 parent 1aec98a commit dcf399d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/usage/Spider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Item详细介绍参考[Item](source_code/Item.md)
125125

126126
可以看到,代码中 `to_DebugSpider`方法可以将原爬虫直接转为debug爬虫,然后通过传递request参数抓取指定的任务。
127127

128-
通常结合断点来进行调试,bebug模式下,运行产生的数据默认不入库
128+
通常结合断点来进行调试,debug模式下,运行产生的数据默认不入库
129129

130130
除了指定request参数外,还可以指定`request_dict`参数,request_dict接收字典类型,如`request_dict={"url":"http://www.baidu.com"}`, 其作用于传递request一致。request 与 request_dict 二者选一传递即可
131131

@@ -192,4 +192,4 @@ if __name__ == "__main__":
192192

193193
## 9. 完整的代码示例
194194

195-
[https://github.com/Boris-code/feapder/tree/master/tests/spider](https://github.com/Boris-code/feapder/tree/master/tests/spider)
195+
[https://github.com/Boris-code/feapder/tree/master/tests/spider](https://github.com/Boris-code/feapder/tree/master/tests/spider)

0 commit comments

Comments
 (0)