I'd like to retrieve content from an iframe via jsoup but get the following error message: "your browser does not support inline frames or is currently configured not to display inline frames ..."
Code:
Jsoup.connect(URL).userAgent(USER_AGENT).get().getElementById(ID);
I have also tried using java.net.URLConnection and Apache HttpClient. I suppose there is something wrong with the user agent which is currently
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.87 Safari/537.36
but no clue how to fix this ...