Created
July 4, 2017 07:02
-
-
Save anonymous/5144f7c92747ace585443497a5dd9868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# settings.py | |
ITEM_PIPELINES = { | |
'xxx.pipelines.Pipeline1': 200, | |
'xxx.pipelines.Pipeline2': 300, | |
} | |
# pipelines.py | |
class Pipeline1(object): | |
# 处理yield过来的item | |
# 写入商品表 | |
pass | |
class Pipeline2(object): | |
# 处理yield过来的item | |
# 写入店铺表 | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment