I was trying to scrape some data from flipkart.com using scrapy. I got everything other than going to the next page. first I tried using scrapy followed by selenium. actually, a class has 2links for the previous page and for the next page.
with scrapy: I am unable to fetch any result. I am getting the blank output.
with selenium: whenever I try to click on the next page it works fine from page 1 to page 2. but then instead of going on the 3rd page, it's coming back to the second page.
is there any other way to do this? how should I distinguish the URLs for the previous page and the next page?
https://www.flipkart.com/...&page=3.