Ask for advice on how to crawl the goods on Taobao. It's urgent.

I"m going to climb Taobao to search for a product"s results page list-

when analyzing the html of the page, I found that after the Taobao page got the data, the data will be loaded only when it is displayed on the screen. Maybe the description is not clear. I posted a few pictures.

what I want to crawl is the data in the red box below

html

then I added a scroll to the bottom with selenium, resulting in data at both ends and a lot of empty space in the middle.

so I took a look. This thing shows more data

as you scroll slowly.

ask the gods, what should I do to get all the data

Mar.28,2021

https://s.m.taobao.com/search?q=iphonex&search=%E6%8F%90%E4%BA%A4&tab=all&sst=1&n=20&buying=buyitnow&m=api4h5&abtest=10&wlsort=10&page=1

use the interface


you can use selenium to execute the javascript command to drop down the window, so that all data is loaded and displayed, and then data is extracted

Menu