Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
epub-crawler
比较版本
aa8246325df937a0ab6d46f6e012cb0cb1a2fb41...139787912082ebb6542d30e90232c06fc2a10f66
E
epub-crawler
项目概览
OpenDocCN
/
epub-crawler
10 个月 前同步成功
通知
1
Star
22
Fork
6
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
epub-crawler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
139787912082ebb6542d30e90232c06fc2a10f66
选择Git版本
...
目标分支
aa8246325df937a0ab6d46f6e012cb0cb1a2fb41
选择Git版本
比较
Commits (3)
https://gitcode.net/OpenDocCN/epub-crawler/-/commit/43bdc3ef177751972b51086c2fd83693e92972b8
2022-03-18 21:26:16
2022-03-18T21:26:16+08:00
wizardforcel
562826179@qq.com
https://gitcode.net/OpenDocCN/epub-crawler/-/commit/0be4284d36b97052b77619b61eef01f563fa192b
2022-03-18 21:26:39
2022-03-18T21:26:39+08:00
wizardforcel
562826179@qq.com
https://gitcode.net/OpenDocCN/epub-crawler/-/commit/139787912082ebb6542d30e90232c06fc2a10f66
2022-03-18 23:14:18
2022-03-18T23:14:18+08:00
wizardforcel
562826179@qq.com
显示空白变更内容
内联
并排
Showing
3 changed file
with
3 addition
and
3 deletion
+3
-3
EpubCrawler/__main__.py
EpubCrawler/__main__.py
+1
-1
EpubCrawler/config.py
EpubCrawler/config.py
+1
-1
README.md
README.md
+1
-1
未找到文件。
EpubCrawler/__main__.py
浏览文件 @
13978791
...
...
@@ -173,7 +173,7 @@ def main():
hdls
=
[]
for
url
in
toc
:
print
(
f
'page:
{
url
}
'
)
if
not
re
.
search
(
r
'^https://'
,
url
):
if
not
re
.
search
(
r
'^https
?
://'
,
url
):
articles
.
append
({
'title'
:
url
,
'content'
:
''
})
continue
...
...
EpubCrawler/config.py
浏览文件 @
13978791
...
...
@@ -4,7 +4,7 @@ config = {
'name'
:
''
,
'url'
:
''
,
'link'
:
''
,
'title'
:
''
,
'title'
:
'
title
'
,
'content'
:
''
,
'remove'
:
''
,
'retry'
:
10
,
...
...
README.md
浏览文件 @
13978791
...
...
@@ -46,7 +46,7 @@ CONFIG: JSON 格式的配置文件,默认为当前工作目录中的 config.js
+
`title: String`
文章页面的标题选择器
文章页面的标题选择器
(默认为`title`)
+
`content: String`
...
...