3 Star 10 Fork 2

galoS / 17KSpider

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

17K小说网定向爬虫

免责声明:

本项目旨在学习Scrapy爬虫框架和使用Mssqlserver数据库,不可使用于商业和个人其他意图。若使用不当,均由个人承担。

项目简介:

借助目前超火的爬虫框架scrapy,使用mssqlserver做持久化 从分类(三级分类)到书目到章节内容的全解析,完全可以依照抓取的数据来做一个自己的小说网

环境、架构

  • 运行环境
  • 开发环境
  • 章节抓取运行截图

相关介绍

项目目录 项目目录

爬取对象

采用技术

采用技术:mssql,scrapy

使用步骤

1.根据项目文件下/src/db.sql sql脚本,建立相关数据库表, 2.进入主项目目录,开启命令行 键入

  • scrapy crawl category(一级和二级分类)
  • scrapy crawl category_third(三级分类)
  • scrapy crawl book(书目)
  • scrapy crawl chapter(章节内容)
The MIT License (MIT) Copyright (c) 2017 Jane Zhang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

17K小说网定向爬虫 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/gainorloss_259/17KSpider.git
git@gitee.com:gainorloss_259/17KSpider.git
gainorloss_259
17KSpider
17KSpider
master

搜索帮助