java为什么是我的jsoup。连接(url)无法使用某些url?
我正试图从http://tv.atmovies.com.tw/tv/attv.cfm?action=channeltime&channel_id=CH06获取标题
以下是我的部分源代码:
Document doc = Jsoup.connect( theurl above ).get();
Element title = doc.select("title");
textview.setText(title);
当我试图从www.yahoo.com
获取标题时,这段代码可以工作。
但是它不能处理像http://tv.atmovies.com.tw/tv/attv.cfm?action=channeltime&channel_id=CH06
这样的url,为什么
# 1 楼答案
此网站
http://tv.atmovies.com.tw/tv/attv.cfm?action=channeltime&channel_id=CH06
“重定向到http://www.atmovies.com.tw/home/