Determine what change is important to the business
The directory has changed, but the team still needs to understand what action follows from this. The appearance of a new model, expansion of the line, change of packaging and disappearance of the page mean different events. Before collection, determine the observed category, sources and comparison conditions: region, filters, buyer type and composition of product options. If one run looks at the entire catalog and the other only looks at available items, the difference does not show a change in the assortment. Write down the rule by which each slice is formed and display it next to the result. For the first stage, it is convenient to select one category and an employee who will check the changes found. It will help separate useful signals from events that do not require action.
First confirm the completeness of the cut
Before comparing, check that the collection has completed, that all required catalog pages have opened, and that the expected fields have been preserved. A pagination error can turn half of the assortment into a “disappeared product.” A sudden drop in the number of records or the simultaneous omission of important attributes should stop normal change reporting until review. Record the number of partitions processed, source errors, and when the data was received. If the run is incomplete, leave the previous successful slice as historical, explicitly noting its age; don't pass it off as a fresh check. It is better to set the conditions for acceptable completeness for a specific source, since a single threshold does not reflect the characteristics of all catalogs.
Case study: yesterday 100 positions were successfully collected, but today only the first page with 40 products was processed. A difference of 60 entries does not mean a reduction in assortment. First you need to complete or restore the collection and only then compare the complete sections.
Match the product, not just the page address
After a site update, a product may move to a new URL or have a different display name. The opposite situation is also possible: a new configuration has appeared at the same address. Store an accessible, persistent source ID, SKU, characteristics, and address history. For a group of options, decide in advance whether you consider one model or each combination of parameters separately. A match of similar names should be a candidate for association rather than an absolute merging of records. For an ambiguous pair, it is useful to show the differing attributes and the proposed basis of comparison. This approach helps avoid declaring an old product a new product just because of a change of address and hiding the real new option under a familiar name. Issues of units, packaging and comparable offers are also discussed in the material aboutcompetitor price monitoring.
Don't equate absence with withdrawal from sale.
A product could disappear from the category, remain available via a direct link, temporarily run out of stock, or actually be marked as discontinued. Page fault, access restriction, and incomplete source response add other reasons for missing data. So separate observation and inference. You can record “not found in the current full section” in the log, and confirm the withdrawal as a separate status with a reason. HTTP 404 indicates that the resource is not available at this address, but does not itself explain the commercial reason. For important items, agree on re-checking and manual review. Do not bypass access restrictions: use permitted pages, uploads, or a consistent source interface.
| Observation | Possible status | Next check |
|---|---|---|
| New entry in full | New position found | Check key and address history |
| There are no positions in the category | Requires verification | Open the card and check the selection conditions |
| The card reports absence | Out of stock | Save status text and time |
| The collection has not been completed | The cut is incomplete | Correct collection before comparison |
Show reasons for change
A list of hundreds of “added” and “deleted” lines is of little help to a specialist if one cannot quickly see what has changed. In the event card, save the old and new state, time of successful checks, source address and matching rule. Combine repeated reports of one unconfirmed change, but do not lose the observation history. For priority, you can use categories and characteristics chosen by the business without replacing the reliability of the conclusion with them. It is useful to give the employee the opportunity to confirm, reject or postpone the event with an explanation. These marks will show where the rule generates unnecessary signals and what attributes should be added. The number of notifications alone does not measure the usefulness of monitoring.
Check monitoring for known changes
Prepare training sections with known events: model appearance, URL change, temporary absence, variant change and pagination break. Ensure that the system distinguishes between these situations and maintains a verifiable basis. Then, on a limited real stream, count confirmed changes, passes, false signals, and manual review time. Separately record incomplete starts and detection delay. The procedure for recovering from a failure should allow collection to continue without replacing the last successful slice with a partial one. It makes sense to expand the list of sources after checking one clear route: otherwise, problems of completeness and comparison quickly become difficult to distinguish. For such observation it is importantweb scraping open data with quality control, where the result includes information about the completeness and time of the check.
Apply to your task
Describe the open sources allowed and the solution for which the data is needed. We will discuss the completeness of collection, comparison and verification of changes.
Discuss data monitoring →