Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多个pipelines如何指定的? #7

Open
xiaonan opened this issue Sep 12, 2013 · 4 comments
Open

多个pipelines如何指定的? #7

xiaonan opened this issue Sep 12, 2013 · 4 comments

Comments

@xiaonan
Copy link

xiaonan commented Sep 12, 2013

settings.py里的ITEM_PIPELINES是一个list,如何指定让不同的spider对应到不同的pipeline呢?

@gnemoug
Copy link
Owner

gnemoug commented Sep 12, 2013

pipeline是用来处理item的,跟spider有什么关系?

@gnemoug
Copy link
Owner

gnemoug commented Sep 12, 2013

而你可以在pipeline中对处理哪些item进行设置吧

@seozed
Copy link

seozed commented Jun 16, 2015

都放进去,然后设置一个0-1000的值来决定他们的顺序

@daidaixiong
Copy link

settings.py里的ITEM_PIPELINES是一个list,如何指定让不同的spider对应到不同的pipeline呢?

可以进行spider级别的setting,http://blog.csdn.net/haipengdai/article/details/48543313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants