[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72609":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},72609,"fanqienovel-downloader","ying-ck\u002Ffanqienovel-downloader","ying-ck","下载番茄小说",null,"Python",2101,229,19,30,0,8,21,59,24,29.09,"GNU Affero General Public License v3.0",false,"main",true,[],"2026-06-12 02:03:05","# Fanqienovel-downloader\nQQ群号：428582738，欢迎讨论\n\n\n### 由于上学的原因，作者无法及时回复，敬请谅解\n### fanqienovel downloader v1.1.5及以下版本，由于API失效无法使用，现在请使用最新版本（v1.1.6及以上）：\n\n下载番茄小说，通过Python实现\n请勿滥用，且用且珍惜\n\n## 衍生工具\n1.[c.exe](https:\u002F\u002Fgithub.com\u002Fying-ck\u002Ffanqienovel-downloader\u002Freleases\u002Ftag\u002Fv1.1.13)用于检测番茄小说网页结构变化\n\n2.[s.exe](https:\u002F\u002Fgithub.com\u002Fqxqycb\u002Fsearch-novel)用于小说内容搜索，可搭配番茄小说下载器使用\n\n3.[f.exe](https:\u002F\u002Fgithub.com\u002Fqxqycb\u002Fnovel-spilt)以文件大小来分割小说文件，可搭配番茄小说下载器使用\n\n## 使用方法\n\n### 本地程序\n\n### v1.1.8版本及以上\n\n1. 输入小说目录页面完整链接或者id下载\n1. 输入id或链接直接下载\n2. 输入1以更新，读取 `record.json` 中的id进行更新\n3. 输入2进行搜索\n4. 输入3进行批量下载\n5. 输入4进入设置，可调整正文段首占位符，调整延时，小说存储位置，保存模式\n6. 输入5进行备份下载的小说以及下载格式、段首空格等\n7. 输入6退出程序\n\n\n### 目前(v1.1.14版本)保存方式支持：1.整本保存 2.分章保存 3.EPUB电子书格式保存 4.html格式保存 5.Latex格式保存\n\n### 请注意！修改了设置中的每一个选项都会覆盖原来的数据，请仔细查看后在做出选择。若想修复默认选项，请将`config.json`文件删除\n\n\n## Q&A\n### Q1：\n报错：` The above exception was the direct cause of the following exception:\nurllib3.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:\nTraceback (most recent call last):\nFile \"requests\\adapters. py\", line 667, in send\nFile \"urllib3\\connectionpool. py\", line 843, in urlopen File \"urllib3\\util\\retry. py\", line 519, in increment\nurllib3. exceptions. MaxRetryError: HTTPSConnectionPool(host='fanqienovel. com', port=443): Max retries exceeded with url: \u002Fpage\u002F7143038691944959011 (Caused by ProxyError('Unable to connect to proxy', FileNotFoundError(2, 'No such file or dire ctory'))) `\n......\n### A1：\n网络错误，请检查网络连接(如：关闭代理、加速)\n\n### Web 版\n\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F2dfb008b-bdd7-4ff8-a020-cd1e5ede1dc9\" width=\"500\">\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F8edee2b2-91e4-483b-bb9b-79d8b18e4a00\" width=\"500\">\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Ff4257f33-e25e-477c-8f51-6ce5949d881f\" width=\"500\">\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F152638c2-43c1-49b6-a097-b50f1ac495e3\" width=\"500\">\n\n\nWeb版实现的功能\n- 网页服务器下载完直接让你下载小说文件到本地，所以能远程放在容器或虚拟机中运行\n- 有进度条，漂亮！\n- 能透过 id 下载小说，也能用名字搜索小说，更能更新之前下载的小说\n- 简洁的 UI 界面\n- 队列设计，可以把好几本书加入队列，批量下载\n- 在线阅读\n\n你有3种方式运行 web 版。\n\n1.直接执行exe文件\n\n2. Python 运行\n\n用 Git 克隆这个项目或直接下载项目的zip并解压。进入项目文件夹，新建虚拟环境，并用 `pip install -r requirements.txt` 来安装这个项目的 python 依赖。\n\n接着进入`src`目录，用python 运行 `server.py`，并根据指示用浏览器开启 `http:\u002F\u002Flocalhost:12930`。\n(注意：`python`版本3.8及以下版本下载项目`zip`或`git`时，`src`目录中,将原来的`main.py`删除，再把`main2.py`名称改为`main.py`)\n\n3. Docker 运行\n\n用 Git 克隆这个项目或直接下载项目的zip并解压。进入项目文件夹。\n\n直接使用 `docker compose up` (或是 `docker compose up -d` 在后台运行) 构建并启动镜像。启动后用浏览器访问 `http:\u002F\u002Flocalhost:12930`。\n\n下载的小说和个人数据 (`data` 文件夹) 会存在docker 卷里面，分别叫做 `fanqie_data` 和 `fanqie_downloads`。如果你想修改成某个特定的目录，可以修改 `docker-compose.yaml` 文件中的持久化用户数据部分。\n\n### 手机版\n#### 现在有一种方式可在手机上使用(只是ref_main.py,不是web版)\n\n安装termux\n\n换源：\n`sed -i 's@^(.*deb.*stable main)$@#\\1\\ndeb https:\u002F\u002Fmirrors.tuna.tsinghua.edu.cn\u002Ftermux\u002Fapt\u002Ftermux-main stable main@' $PREFIX\u002Fetc\u002Fapt\u002Fsources.list`\n`apt update && apt upgrade`\n\n`pip config set global.index-url https:\u002F\u002Fpypi.tuna.tsinghua.edu.cn\u002Fsimple`\n\n安装包：\n`pip install requests ebooklib tqdm beautifulsoup4`(注意：在ref_main.py中删掉tkinter的导入)\n\n运行：\npython ref_main.py\n\n注意：运行环境配置正确，不要对应错误\n安装lxml库可能报错，按照以下步骤解决：\nCFLAGS=\"-O0\" pip install lxml\n\n\n\n## 集思广益\n\n若各位使用者有什么意见或程序有什么错误，欢迎在lssues中讨论\n\n## 免责声明\n\n此程序旨在用于与Python网络爬虫和网页处理技术相关的教育和研究目的。不应将其用于任何非法活动或侵犯他人权利的行为。用户对使用此程序引发的任何法律责任和风险负有责任，作者和项目贡献者不对因使用程序而导致的任何损失或损害承担责任\n\n在使用此程序之前，请确保遵守相关法律法规以及网站的使用政策，并在有任何疑问或担忧时咨询法律顾问\n\nThis 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.\n\nBefore 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.\n\n## 开源\n\n本程序遵循[AGPL-3.0](https:\u002F\u002Fgithub.com\u002Fying-ck\u002Ffanqienovel-downloader?tab=AGPL-3.0-1-ov-file)开源。使用本程序源码时请注明来源，并同样使用此协议。\n\n## 作者\n\n- 作者：Yck (ying-ck) & Yqy(qxqycb) & Lingo(lingo34)\n\n## Star趋势\n\n![Stars](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ying-ck\u002Ffanqienovel-downloader&type=Date)\n\n## 赞助作者\n\n![afdian-qxqycb](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F19495126-7f23-410f-9796-c000df3c4185)\n爱发电：https:\u002F\u002Fafdian.com\u002Fa\u002Fqxqycb\n注意：赞助了不等于一定会有可以用的程序，请自行斟酌\n","该项目是一款用于下载番茄小说的工具，通过Python实现。其核心功能包括支持多种格式的小说下载（如整本保存、分章保存、EPUB、HTML和Latex格式），并提供搜索、批量下载及更新已下载内容的能力。技术上，它不仅提供了命令行界面版本，还开发了具备简洁UI的Web版，后者可以在容器或虚拟机中运行，便于远程操作，并且支持队列管理和在线阅读等功能。适用于需要离线阅读番茄小说的用户，特别是那些偏好自定义下载选项和格式转换的人士。此外，项目维护者还提供了基于Docker的部署方案以及手机端使用方法，进一步增强了其适用性和便捷性。",2,"2026-06-11 03:42:46","high_star"]