JSOUP 解析 returns 主页而不是 url 提供
JSOUP parsing returns main page and not url provided
我正在使用 Jsoup.connect(URL).get()
解析网页
解析下一页时https://www.sports.com/soccer/scoreboard, it does not provide the source code of https://www.sports.com/soccer/scoreboard, but rather the source code of https://www.sports.com
它在过去有效,但似乎已经改变 - 你有解决这个问题的方法吗?
谢谢
必须将此添加到请求中 - 感谢 Luk
.cookie("euConsent","true")
我正在使用 Jsoup.connect(URL).get()
解析网页解析下一页时https://www.sports.com/soccer/scoreboard, it does not provide the source code of https://www.sports.com/soccer/scoreboard, but rather the source code of https://www.sports.com
它在过去有效,但似乎已经改变 - 你有解决这个问题的方法吗?
谢谢
必须将此添加到请求中 - 感谢 Luk
.cookie("euConsent","true")