1
0
mirror of https://github.com/apachecn/epub-crawler.git synced 2025-06-03 23:58:27 +00:00
wizardforcel a739d679f3 init
2021-08-20 23:04:45 +08:00

25 lines
568 B
Python

# -*- coding: utf-8 -*-
config = {
'name': '',
'url': '',
'link': '',
'title': '',
'content': '',
'remove': '',
'retry': 10,
'wait': 0,
'encoding': 'utf-8',
'credit': True,
'headers': {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
},
'list': [],
'optiMode': 'quant',
'colors': 8,
'timeout': 8,
'imgSrc': ['data-src', 'data-original-src', 'src'],
'proxy': '',
'textThreads': 5,
'imgThreads': 5,
}