https://login.tmall.com/ Post登录天猫,试过了怎么也不行
Document doc = Jsoup.connect(LOGIN_URL)
.header("Accept", "*/*")
.header("Accept-Encoding", "gzip, deflate")
.header("Accept-Language", "zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3")
.header("Referer", "https://www.baidu.com/")
.header("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0")
.timeout(5000)
.get();
System.out.println(doc);
看样子,网页有点像动态生成的:源码也获取不到,怎么办?有没有其他解决办法?