is it possible to mask
Jsoup.connect("http://xyz.com").get().html();
as a browser call to the website?
I try to build a wallpaper download tool and experiencing problems when downloading the page form the server.
If I download the page, say with Firefox, uploading this to a server of mine it is downloaded properly…
I figured it must be some browser based script prevention which doesn’t let you parse the page automatically…
Try setting the
User-Agentheader on the request. Ex: