colly 后端存储 ##7

后端存储

Colly有一个内存存储后端来存储cookie和访问过的url,但是它可以被实现Colly /storage. storage的任何自定义存储后端覆盖。

现有存储后端

In-Memory Backend

Colly的默认后端。使用collection . setstorage()覆盖。

Redis backend

See redis example for details.

SQLite3 backend

MongoDB backend

posted @ 2019-09-23 10:45  golang-jack  阅读(730)  评论(0编辑  收藏  举报