Skip to content
chenjw edited this page Sep 29, 2012 · 21 revisions

功能1:敏感数据图片化,增加爬取难度。

展示效果

图中红框部分内容,为了反爬取,实际上显示的下面这张图片。

原图片

为了减少页面产生的http请求,一个页面中的这些图片块可以紧凑的放在一张图片中,使用时通过

&ltp style="background-image:url(pic0.png);background-position:-311px -66px;width:120px;height:22px;">&lt/p&rt

的方式取中间一块展示。

Clone this wiki locally