S
S
shobique2021-09-15 13:50:33
PHP
shobique, 2021-09-15 13:50:33

How to parse the second page from the Okay store catalog?

On the site of the hypermarket Okay, there is a pagination of the catalog, switching occurs using Ajax. Tell me how it is possible to parse the second page and more using php. The parser in the basic version takes data from the first page only.
Thank you.

Example: here

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ScriptKiddo, 2021-09-15
@shobique

The request body contains pageSize and beginIndex parameters .
Formula to get the desired page
pageSize = 36
beginIndex = pageSize * pageNumber

img
6141d8fc7b1a5162564216.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question