问题描述
我正在尝试使用jsoup获取url的页面内容:“ https://cm.netteller.com/login2008/Authentication/Views/Login.aspx?fi=northeast&bn=52075d37adaa8572&burlid=0924e76fe610cedd”。
下面的代码段:
String url = "https://cm.netteller.com/login2008/Authentication/Views/Login.aspx?fi=northeast&bn=52075d37adaa8572&burlid=0924e76fe610cedd";
String userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0";
Document doc = Jsoup.connect(url)
.userAgent(userAgent)
.timeout(10*1000)
.followRedirects(true)
.get();
String pageTitle = doc.title();
我用jsoup尝试了“ WebClient”,但是得到了相同的响应。
谢谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)