JMComic-Crawler-Python/assets/config/option.yml
2023-04-02 22:19:44 +08:00

42 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!!python/object:jmcomic.jm_option.JmOption
dir_tree: !!python/object:jmcomic.jm_option.DownloadDirTree
Bd: D:/jmcomic/download/
flag: Bd_Title_Image
disable_jm_module_debug: false
download_convert_image_suffix: .jpg
download_image_then_decode: true
download_multi_thread_photo_batch_count: 10 # 一次多线程批量下载的数量,太多了禁漫服务器可能顶不住
download_multi_thread_photo_len_limit: 30
download_use_disk_cache: true
filepath: null
client_config:
domain: jmcomic1.group
# 请求失败时重试的次数配个正数就行不配默认是5
retry_times: 5
postman_type: cffi
postman_type_list:
- requests
- requests_Session
- cffi
- cffi_Session
meta_data:
proxies: null
allow_redirects: true
cookies: null
headers:
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
accept-language: zh-CN,zh;q=0.9
authority: jmcomic1.rocks
sec-ch-ua: '"Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"'
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: '"Windows"'
sec-fetch-dest: document
sec-fetch-mode: navigate
sec-fetch-site: none
sec-fetch-user: ?1
upgrade-insecure-requests: '1'
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/109.0.0.0 Safari/537.36