asd_dsa_的gravatar头像
asd_dsa_ 2016-08-25 20:53:58

jsoup如何模拟登陆并解析iframe框架里的页面?

1.jsoup模拟登陆失败

2.如何解析iframe框架下的页面

所有回答列表(1)
最代码官方的gravatar头像
最代码官方  LV167 2016年8月26日

jsoup请求只会得到当前url的html,至于iframe或a链接中的url需要你自行解析再去请求。

如果是网络爬虫类的框架可以获取n级链接的html

请参考:

java爬虫代码实例

最近浏览
afeng0901  LV1 2020年4月21日
niceyoo_  LV3 2017年8月15日
cdsdog  LV1 2017年5月4日
sp朱盼  LV16 2016年9月28日
大懒虫  LV16 2016年9月6日
yltume@  LV9 2016年9月6日
overtakeyesterday  LV2 2016年8月31日
saka88  LV8 2016年8月30日
天枰凯撒的荣耀  LV1 2016年8月30日
ren22109  LV8 2016年8月30日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友