Giter Club home page Giter Club logo

qidiancrawler's Introduction

起点爬虫

简介

本程序是一个基于DrissionPage库的小说爬虫,用于爬取起点中文网的小说内容,它使用Rich库来提供丰富的输出信息。 目前测试的Python版本为3.11.9。

功能

  • 爬取起点中文网的小说章节内容

使用说明

  1. 安装依赖库:pip install -r requirements.txt
  2. 运行程序:python main.py -h以获得所有提示。
  3. 如果出现无法找到浏览器可执行文件路径,请手动配置,请对照🌏 准备工作 | DrissionPage官网解决。
  4. 根据提示输入小说链接,程序将爬取指定的小说内容并保存到程序所在的文件夹中。
  5. 如果需要下载VIP章节,请您在弹出的浏览器中登陆后重新执行操作2。请您不要关闭弹出的浏览器。

注意事项

  • 请遵守相关法律法规和网站使用协议,不要频繁访问或大量下载小说内容,以免对服务器造成不必要的负担。
  • 本程序仅为个人学习使用,不得用于商业用途或侵犯版权。
  • 如果遇到网站结构变化或其他问题,可能导致程序无法正常工作,请自行调整代码或寻找其他解决方案。

qidiancrawler's People

Contributors

asss-whom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jqhee

qidiancrawler's Issues

VIP章节下载问题

下载时候网页有时候会直接加载不出来下载失败,然后下载VIP章节前一部分没啥问题,到后边全是乱码,感觉是触发了起点的防盗机制?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.