Side note: I'm a total noob here, so I actually don't know if the page is a JavaScript page. When I inspect element, it shows HTML code, but when I hover my mouse over a page number, it shows javascript:void()
.
I was looking at this post, as well as a few others, on how to scrape multiple pages using Python requests and beautiful soup.
My situation is similar to the OP of the aforementioned post:
- url does not change when I click on a new page
- I'm able to scrape one page, but there are multiple pages (possibly thousands in my case)
But between my case and the OP's case, there are also a few differences:
- In the website mentioned in the post, when you hover your mouse over "2" or "3" to get to another page, you see in the bottom left of your browser
javascript:goToPage("2")
; however, the page I'm looking at, when I click on any of the page links, it saysjavascript:void(0)
. - I also don't get a
POST
when I inspect the elements, so I'm not able to follow the solution provided.
Again, I'm able to scrape one page, but I don't how to scrape all the pages at once.