F
F
Fadey0012017-03-22 14:27:13
PHP
Fadey001, 2017-03-22 14:27:13

How to track records in the database for products that have disappeared from the supplier's website?

The crux of the matter is this. There is a python parser. He visits the supplier's website, parses the goods, then makes a request to the database, and if there is no such product, then adds it. There are no problems with this. But how to track which products are in the database but disappeared from the supplier's website? You only need an algorithm, there are no problems with bydlocking)))

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yustas Alexu, 2017-03-22
@Fadey001

The simplest thing that comes to mind is to do the reverse process: that is, take goods from the database and check if they are on the site.

P
Pavel Belyaev, 2017-11-15
@PavelBelyaev

Turn off all products or change availability, and then turn it on as you bypass the supplier

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question