...
 
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
......@@ -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
......
......@@ -4,7 +4,7 @@ config = {
'name': '',
'url': '',
'link': '',
'title': '',
'title': 'title',
'content': '',
'remove': '',
'retry': 10,
......
......@@ -46,7 +46,7 @@ CONFIG: JSON 格式的配置文件,默认为当前工作目录中的 config.js
+ `title: String`
文章页面的标题选择器
文章页面的标题选择器(默认为`title`)
+ `content: String`
......