I'm trying to parse this website with Jsoup: http://www.listofnewspapers.com/2014/04/site-map.html but I am getting this error:
For 'http://www.listofnewspapers.com/2014/04/site-map.html': HTTP error fetching URL"
I believe the error is occurring atconnect(URL).get()
.
I printed the status code for debugging purposes, and I got 200
.
I tried with multiple other websites, and they connected fine.