search

Home  >  Q&A  >  body text

java - 使用jsoup解析网站,得到一个下载的ftp路径,使用谷歌浏览器可以看到迅雷的下载链接,但是查看网页只能得到ftp路径

查看网页源代码只能看到,jsoup解析出来也只能得到"ftp://红旅动漫@wt4.hltm.cc:10071/红旅首发www.hltm.cc女子搞笑网球 第三季GB[MP4].mp4"

但是在谷歌浏览器使用检查的时候,可以得到 "thunder://QUFmdHA6Ly8lRTclQkElQTIlRTYlOTclODUlRTUlOEElQTglRTYlQkMlQUJAd3Q0LmhsdG0uY2M6MTAwNzEvWyVFNyVCQSVBMiVFNiU5NyU4NSVFOSVBNiU5NiVFNSU4RiU5MXd3dy5obHRtLmNjXVtiZWlqaWR5XVslRTUlQTUlQjMlRTUlQUQlOTAlRTYlOTAlOUUlRTclQUMlOTElRTclQkQlOTElRTclOTAlODMlMjAlRTclQUMlQUMlRTQlQjglODklRTUlQUQlQTNdWzAxXVtHQl1bNzIwUF1bTVA0XS5tcDRaWg=="

测试网站为http://www.hltm.tv/view/11696.html

迷茫迷茫2807 days ago832

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 17:33:06

    This is because you use jsoup to request HTML, and some subsequent operations of dynamic parsing through js are no longer available, resulting in no conversion of ftp to thunder. This is simple. You can know how to parse by looking at the ThunderEncode function in base64.js.

    reply
    0
  • Cancelreply