I am trying to scrape a webpage but for some reason it appears that I am only able to transverse up to a certain point on the page. I've printed the entire doc to file to ensure that the element I need is there (I know sometimes some code isn't capture because of JavaScript ect.). After outputting the html code to a text file, I was able to verify that the data I needed was successfully captured by JSoup.
I've tried increasing the timeout and maxbody size to ensure that its not limited there.
Can anyone point out what I'm missing?
doc = Jsoup.connect("https://www.mississaugahardware.com/products?keyword=dcf680n1&mainc=")
.header("Accept-Encoding", "gzip, deflate")
.userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0")
.maxBodySize(0)
.timeout(600000)
.get();
Elements info = doc.select("span[class=PriceListModeBig");
I was able to pull values for elements near the top of the page but not further down.