Web Scraping with Jsoup only functioning half the time

I’ve been playing around with the Java Jsoup library lately in an attempt to get a better understanding of web scraping (pulling data off a website). But it would seem that the code I managed to...