D
D
Daria2019-10-28 16:54:34
Python
Daria, 2019-10-28 16:54:34

How to solve the problem with pagination if the next page is a JS code instead of a link?

Let's say we take this query on the site: https : //www.qoo10.sg/s/EYELASH?keyword=eyelash&key ... incomplete ones came out from the second page I took the link of this request:
5db6f1e827666679043311.png
5db6f2ee5ad09126620591.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nokimaro, 2019-10-29
@darina46722

&curPage=XXX
for example, it will display the 5th page

https://www.qoo10.sg/s/EYELASH?keyword=eyelash&keyword_auto_change=&curPage=5

D
Developer, 2019-10-28
@samodum

See the Networks tab and in the XHR look for a paginated POST request.
This request has everything:
https://www.qoo10.sg/s/?search_option=tt&gdlc_cd=&...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question