下载番茄小说,通过Python实现 请勿滥用,且用且珍惜
1.c.exe用于检测番茄小说网页结构变化
2.s.exe用于小说内容搜索,可搭配番茄小说下载器使用
3.f.exe以文件大小来分割小说文件,可搭配番茄小说下载器使用
record.json 中的id进行更新config.json文件删除报错:The above exception was the direct cause of the following exception: urllib3.exceptions.ProxyError: ('Unable to connect to proxy', FileNotFoundError(2, 'No such file or directory')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "requests\adapters. py", line 667, in send File "urllib3\connectionpool. py", line 843, in urlopen File "urllib3\util\retry. py", line 519, in increment urllib3. exceptions. MaxRetryError: HTTPSConnectionPool(host='fanqienovel. com', port=443): Max retries exceeded with url: /page/7143038691944959011 (Caused by ProxyError('Unable to connect to proxy', FileNotFoundError(2, 'No such file or dire ctory')))
......
网络错误,请检查网络连接(如:关闭代理、加速)
Web版实现的功能
你有3种方式运行 web 版。
1.直接执行exe文件
用 Git 克隆这个项目或直接下载项目的zip并解压。进入项目文件夹,新建虚拟环境,并用 pip install -r requirements.txt 来安装这个项目的 python 依赖。
接着进入src目录,用python 运行 server.py,并根据指示用浏览器开启 http://localhost:12930。
(注意:python版本3.8及以下版本下载项目zip或git时,src目录中,将原来的main.py删除,再把main2.py名称改为main.py)
用 Git 克隆这个项目或直接下载项目的zip并解压。进入项目文件夹。
直接使用 docker compose up (或是 docker compose up -d 在后台运行) 构建并启动镜像。启动后用浏览器访问 http://localhost:12930。
下载的小说和个人数据 (data 文件夹) 会存在docker 卷里面,分别叫做 fanqie_data 和 fanqie_downloads。如果你想修改成某个特定的目录,可以修改 docker-compose.yaml 文件中的持久化用户数据部分。
安装termux
换源:
sed -i 's@^(.*deb.*stable main)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main stable main@' $PREFIX/etc/apt/sources.list
apt update && apt upgrade
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
安装包:
pip install requests ebooklib tqdm beautifulsoup4(注意:在ref_main.py中删掉tkinter的导入)
运行: python ref_main.py
注意:运行环境配置正确,不要对应错误 安装lxml库可能报错,按照以下步骤解决: CFLAGS="-O0" pip install lxml
若各位使用者有什么意见或程序有什么错误,欢迎在lssues中讨论
此程序旨在用于与Python网络爬虫和网页处理技术相关的教育和研究目的。不应将其用于任何非法活动或侵犯他人权利的行为。用户对使用此程序引发的任何法律责任和风险负有责任,作者和项目贡献者不对因使用程序而导致的任何损失或损害承担责任
在使用此程序之前,请确保遵守相关法律法规以及网站的使用政策,并在有任何疑问或担忧时咨询法律顾问
This program is designed for educational and research purposes related to Python web crawlers and web page processing technologies. It should not be used for any illegal activities or acts that violate the rights of others. Users are responsible for any legal liabilities and risks arising from the use of this program. The author and project contributors are not responsible for any losses or damages resulting from the use of the program.
Before using this program, please ensure compliance with relevant laws and regulations and the website's usage policies. Consult a legal advisor if you have any questions or concerns.
本程序遵循AGPL-3.0开源。使用本程序源码时请注明来源,并同样使用此协议。
爱发电:https://afdian.com/a/qxqycb
注意:赞助了不等于一定会有可以用的程序,请自行斟酌
161 followers · starred Aug 2025
58 followers · starred Aug 2026
99 followers · starred Feb 2025
11 followers · starred Feb 2025
下载番茄小说,通过Python实现 请勿滥用,且用且珍惜
1.c.exe用于检测番茄小说网页结构变化
2.s.exe用于小说内容搜索,可搭配番茄小说下载器使用
3.f.exe以文件大小来分割小说文件,可搭配番茄小说下载器使用
record.json 中的id进行更新config.json文件删除报错:The above exception was the direct cause of the following exception: urllib3.exceptions.ProxyError: ('Unable to connect to proxy', FileNotFoundError(2, 'No such file or directory')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "requests\adapters. py", line 667, in send File "urllib3\connectionpool. py", line 843, in urlopen File "urllib3\util\retry. py", line 519, in increment urllib3. exceptions. MaxRetryError: HTTPSConnectionPool(host='fanqienovel. com', port=443): Max retries exceeded with url: /page/7143038691944959011 (Caused by ProxyError('Unable to connect to proxy', FileNotFoundError(2, 'No such file or dire ctory')))
......
网络错误,请检查网络连接(如:关闭代理、加速)
Web版实现的功能
你有3种方式运行 web 版。
1.直接执行exe文件
用 Git 克隆这个项目或直接下载项目的zip并解压。进入项目文件夹,新建虚拟环境,并用 pip install -r requirements.txt 来安装这个项目的 python 依赖。
接着进入src目录,用python 运行 server.py,并根据指示用浏览器开启 http://localhost:12930。
(注意:python版本3.8及以下版本下载项目zip或git时,src目录中,将原来的main.py删除,再把main2.py名称改为main.py)
用 Git 克隆这个项目或直接下载项目的zip并解压。进入项目文件夹。
直接使用 docker compose up (或是 docker compose up -d 在后台运行) 构建并启动镜像。启动后用浏览器访问 http://localhost:12930。
下载的小说和个人数据 (data 文件夹) 会存在docker 卷里面,分别叫做 fanqie_data 和 fanqie_downloads。如果你想修改成某个特定的目录,可以修改 docker-compose.yaml 文件中的持久化用户数据部分。
安装termux
换源:
sed -i 's@^(.*deb.*stable main)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main stable main@' $PREFIX/etc/apt/sources.list
apt update && apt upgrade
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
安装包:
pip install requests ebooklib tqdm beautifulsoup4(注意:在ref_main.py中删掉tkinter的导入)
运行: python ref_main.py
注意:运行环境配置正确,不要对应错误 安装lxml库可能报错,按照以下步骤解决: CFLAGS="-O0" pip install lxml
若各位使用者有什么意见或程序有什么错误,欢迎在lssues中讨论
此程序旨在用于与Python网络爬虫和网页处理技术相关的教育和研究目的。不应将其用于任何非法活动或侵犯他人权利的行为。用户对使用此程序引发的任何法律责任和风险负有责任,作者和项目贡献者不对因使用程序而导致的任何损失或损害承担责任
在使用此程序之前,请确保遵守相关法律法规以及网站的使用政策,并在有任何疑问或担忧时咨询法律顾问
This program is designed for educational and research purposes related to Python web crawlers and web page processing technologies. It should not be used for any illegal activities or acts that violate the rights of others. Users are responsible for any legal liabilities and risks arising from the use of this program. The author and project contributors are not responsible for any losses or damages resulting from the use of the program.
Before using this program, please ensure compliance with relevant laws and regulations and the website's usage policies. Consult a legal advisor if you have any questions or concerns.
本程序遵循AGPL-3.0开源。使用本程序源码时请注明来源,并同样使用此协议。
爱发电:https://afdian.com/a/qxqycb
注意:赞助了不等于一定会有可以用的程序,请自行斟酌
161 followers · starred Aug 2025
58 followers · starred Aug 2026
99 followers · starred Feb 2025
11 followers · starred Feb 2025