经过昨天晚上的努力,我终于找到了获取代码的方式。
法一:
在电脑浏览器登录QQ空间的情况下访问
https://h5.qzone.qq.com/proxy/domain/ic2.qzone.qq.com/cgi-bin/feeds/feeds_html_module?i_uin=你要看的QQ号码&i_login_uin=2509621566&mode=4&previewV8=1&style=35&version=8&needDelOpr=true&transparence=true&hideExtend=false&showcount=5&MORE_FEEDS_CGI=http%3A%2F%2Fic2.qzone.qq.com%2Fcgi-bin%2Ffeeds%2Ffeeds_html_act_all&refer=2¶mstring=os-win7|100
可以看到对方最近发的几条说说,但网页无法下拉,最好保存后用dreamweaver查看或者将网页整张截图后查看。此法可用于查看非好友的空间,但仅限没有访问权限的(不过也能试试有访问权限的,说不定可以)
法二:
访问“https://h5.qzone.qq.com/proxy/domain/ic2.qzone.qq.com/cgi-bin/feeds/feeds_html_act_all?uin=+UIN+&hostuin=+你要看的QQ号码+&scope=0&filter=all&flag=1&refresh=0&firstGetGroup=0&mixnocache=0&scene=0&begintime=undefined&icServerTime=&start=+页码*18+&count=10&sidomain=qzonestyle.gtimg.cn&useutf8=1&outputhtmlfeed=1&refer=2&r=0.09180428235052207&g_tk=+GTK”
此法以前可以直接获得QQ空间说说的网页源代码,直接将网址输入下载器获得feeds_html_act_all文件,处理后就是网页代码,效果不错,但现在有HttpOnly,无法获得,价值不大。不过可以尝试IE浏览器6以下的版本访问。
![796580b04cd9291457f67205858fc974.png](https://img-blog.csdnimg.cn/img_convert/796580b04cd9291457f67205858fc974.png)
图为以前获得的代码