Integration with general Python spider

Add the following code to the results save section of your spider.

# Reference save result method
from crawlab import save_item

# This is a result. It needs to be dict type
result = {'name': 'crawlab'}

# Call save result method
save_item(result)

Then start the spider. After running, you should be able to see the result in task details - result.

© 2020 Crawlab, Made by Crawlab-Team all right reserved,powered by Gitbook该文件最后修改时间: 2020-06-09 14:09:46

results matching ""

    No results matching ""

    results matching ""

      No results matching ""