Multiple spider crawled the data to the same database table using one pipeline, and found that the data was overwritten.

multiple different spider crawled data to the same database table using one pipeline, and found that the data was overwritten

.
Nov.07,2021

do you write or modify this? If it is a write, remember to commit the database transaction after the write. From your description here, you can clearly feel that it is because there is no transaction commit during the data writing process, and finally some crawler writes it and then does it. Of course, you don't have any code and you can't see anything here.

Menu