Answer the question
In order to leave comments, you need to log in
How to correctly check if information has already been parsed?
Let's say we have a list of articles. The article has a title and a date.
During the initial parsing, all articles are added to the database.
Then, when running the script, only those articles that have not yet been parsed should be added to the database.
Question: what is the correct and most effective way to check whether an article is in the database or not? For what parameter to cling? Or do some unique ID based on some data?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question