|
以QQ潮流服饰为例 http://fashion.qq.com/vogue/trends/trends_list.htm
用chrome (Google的浏览器)打开以上网址
并且按F12,进入console选项.
此时点击下面的一列分页.console中会出现以下信息
'KeyboardEvent.keyLocation' is deprecated. Please use 'KeyboardEvent.location' instead.
trends_list.htm:1337 XHR finished loading: GET "http://fashion.qq.com/c/trends_30.htm?0.6296843122690916".
trends_list.htm:1337 XHR finished loading: GET "http://fashion.qq.com/c/trends_2.htm?0.024855950148776174".
此时,规律已经出现了.不难看出trends_(*)这就是分页的序号.火车头中有个分页采集的例子,--->新浪服饰.对比以下.就清楚了. |
|