videocamWeb Data Extraction Summit - September 30th, 2021.
Join some of the greatest minds in web scraping to educate, inspire, and innovate.
Register for free!
Start a new topic


I am trying to get the pagination working for Amazon website. Currently testing in scrapy shell to extract 'href' link. 

Tried the below command, but result show []

response.css(li.a-last > a::attr(href)).extract_first()

Please see attached screenshot for html code.

Many thanks,


(31.1 KB)
Login to post a comment