-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.html
41 lines (36 loc) · 1.95 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<h1 id="利用google-chrome插件automa将网站上的小说下载为txt">利用
<code>Google Chrome</code>插件
<code>automa</code>将网站上的小说下载为txt
</h1>
<h2 id="下载插件">下载插件</h2>
<ul>
<li>
<a href="https://github.com/Lost-Season/novel/releases/download/0.1/Automa.1.23.3.crx">插件下载</a>
</li>
<li>
<a href="https://github.com/Lost-Season/novel/releases/download/0.1/automa.json">DEMO</a>
<h2 id="lets-go">Let's go</h2>
</li>
<li>导出的txt文件为逐章下载,请先新建一个文件夹存放txt文件</li>
</ul>
<ol>
<li>安装插件与DEMO,并把语言转换为中文</li>
<li>打开插件,导入DEMO</li>
<li>打开后如图所示
<img src="https://github.com/Lost-Season/novel/blob/main/pic/001.png?raw=true" alt="001">
</li>
<li>新建标签,新建一个活动标签用于抓取工作,将想要下载小说的第一章网址输入里面
<img src="https://github.com/Lost-Season/novel/blob/main/pic/002.png?raw=true" alt="002">
</li>
<li>获取文本,利用CSS选择器选中所有文本,并且使这里变成g,添加一个变量为
<code>text</code>(如果下载的是笔趣阁的小说,不要改)
<img src="https://github.com/Lost-Season/novel/blob/main/pic/003.png?raw=true" alt="003">
</li>
<li>如下图,利用CSS选择器转到下一章页面(如果下载的是笔趣阁的小说,不要改)
<img src="https://github.com/Lost-Season/novel/blob/main/pic/004.png?raw=true" alt="004">
</li>
<li>如下图,导出为txt文件,并重复上述操作,如果不知道章节数,填一个很大的数字就行(分章节导出,防止重复次数不对导致导出失败)
<img src="https://github.com/Lost-Season/novel/blob/main/pic/005.png?raw=true" alt="005">
</li>
<li>最后进入文件夹内,按时间顺序排序,并且将所有文件整合为一个文件(自行百度/必应/谷歌搜索)</li>
</ol>