# 演示采集作文8网 ![](https://img.kancloud.cn/94/be/94be61ad7f589a80831a1979bedd524a_1514x996.png) ![](https://img.kancloud.cn/0f/33/0f334e48d28bcea5e03d262169de3af4_1687x923.png) 查看网站编码,填写其他栏目。 ![](https://img.kancloud.cn/f4/56/f45632b1dbceff5e3410eb6ff0c99efd_1695x710.png) ## 开发者工具【Ctrl+Shift+i】 ![](https://img.kancloud.cn/87/25/8725075dcb565b0346da306e5f07ec67_1242x1013.png) ![](https://img.kancloud.cn/f8/23/f823f5609b617121f574c40d0b508e7e_1441x985.png) ``` 获取到 body > div.top > div.nva > div.nva_1 > div.nva_3 > ul > li:nth-child(10) > a ``` ![](https://img.kancloud.cn/85/a0/85a0c2a35771520ce933c8d8fe68a6f5_1462x1014.png) ![](https://img.kancloud.cn/53/f2/53f24d8e922d28062654d8ab7ba33ab7_1462x1014.png) ## 点击测试采集 ![](https://img.kancloud.cn/07/0f/070f97014af7425cb52caf0568b37cdd_1462x1014.png) ## 我们现在获取了网站的栏目,现在获取栏目的文章列表 ![](https://img.kancloud.cn/82/62/826211706f7e0f3b9ed4efb038809922_1242x1026.png) ![](https://img.kancloud.cn/46/8c/468cafe5f841ff0fb485f36a46978806_1462x1014.png) ## 把刚刚获取文章的Copy selector复制到 ![](https://img.kancloud.cn/65/87/65873a20be5fab3253adb2585639ede0_1462x1014.png) ![](https://img.kancloud.cn/71/55/71551d0561c9b465388ab6b98226176e_1462x1014.png) ![](https://img.kancloud.cn/90/2a/902a7f524fdced84a6d27b7ba1694461_1462x1014.png) ## 采集分页 ![](https://img.kancloud.cn/9c/6a/9c6af1859b1309530c691ba8f10e7561_1242x1026.png) ![](https://img.kancloud.cn/62/58/62583e82cf1985db4d58f3e6d69cbbaf_1462x1014.png) ![](https://img.kancloud.cn/27/da/27dae178925470f2d2b926720346823d_1462x1014.png) ## 接下来获取文章信息,我们打开一篇文章 ![](https://img.kancloud.cn/29/c4/29c42f4e9c86a87cec7551d7b8700fd2_1242x1026.png) ![](https://img.kancloud.cn/bc/80/bc809a4828cc1a1e63c60b5c0f5325d0_1466x709.png) ![](https://img.kancloud.cn/8d/3f/8d3f287922238faa385fb1ab000d773e_1242x1026.png) ![](https://img.kancloud.cn/81/31/8131ad30bd0aa66183c6e4a963aeca5f_1613x891.png) ![](https://img.kancloud.cn/19/47/194777661609831383ffae1d8a0cd88e_1753x865.png) ![](https://img.kancloud.cn/91/b0/91b087725c3fa7e07d330728de696b82_1687x573.png) ## 同理即可,我们现在来模拟测试一篇文章 ![](https://img.kancloud.cn/c7/eb/c7eb22819629e47cf9bb20048524d50c_1357x971.png) ![](https://img.kancloud.cn/14/5f/145f009a66afde12595799ef075f2977_1357x971.png) ![](https://img.kancloud.cn/4d/22/4d22b25c22ae0900c8ba5e953e874c84_1357x971.png)