Code execution when scanning is completed

Is there a way to get Scrapy to execute the code after the scan is complete to handle moving / clearing data? I'm sure this is trivial, but my google foo seems to have left me for this problem.

+4
source share
1 answer

You can write extension by catching spider_closed which will execute your custom code.

+2
source

Source: https://habr.com/ru/post/1488665/


All Articles