L
L
living_corpse2021-01-05 18:11:05
Python
living_corpse, 2021-01-05 18:11:05

How to find out where the online store makes friends with goods?

I want to write a script that will check the product for availability in an online store (ozone). So far I've written a simple parser that seems to work, but I'm sure there's a faster way. How does the site understand if a product is in stock or not? I searched through the developer console, but did not find it (((Maybe you can advise me to read something on this topic.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2021-01-05
@Sanes

Ozone has them all. You need to fill the base and periodically check the article. If it returns 404, then it is not there. If 200, then we take the current information. For example the price.

A
Anton Shamanov, 2021-01-06
@SilenceOfWinter

https://docs.ozon.ru/api/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question