I am using the python scrapy, try to get the car-name on the page:
https://youjia.baidu.com/view/carDatabase?title=%E7%8E%B0%E4%BB%A3&key=code&val=174&sa=pc_growth_1
but when I use below method
len(response.css('p.car-name::text').getall())
I can only get 25 out of the actual 46 elements. I've examined the page source carefully, and using the selenium middleware. Why? Anybody who get a clue?
the complete source is put here
https://github.com/sampan0423/youjia1