fffonion / xeHentai

Doujinshi downloader 绅士漫画下载
https://yooooo.us/2013/xehentai
GNU General Public License v3.0
729 stars 88 forks source link

source code CLI mode -j useless 源码命令行模式无法下载 英文/罗马音标题的本子 #82

Closed frankli998 closed 3 years ago

frankli998 commented 4 years ago

首先感谢作者造福广大绅士!

我想请教两个问题:

  1. 我无法在源码命令行模式下下载非日文本子,即便我使用了 -j False,在不同的本子和操作系统(Windows, Ubuntu)都是如此。除非用 -i 进行交互然后选择不下载日文方可下载到英文/罗马音标题的本子

image

  1. 修改config.py 似乎无效,如下图压缩选项和日文选项都没有改变 image
  2. 以上现象仅在使用 source code时出现,使用release里面的windows的exe文件似乎没有问题
# coding:utf-8
# DO NOT EDIT THIS FILE
# make a copy to your working directory
# and edit that file

# Daemon mode
daemon = False

# set download directory
dir = "."
# download original images, needs to login
download_ori = False
# Set if use Japanese title if available
jpn_title = False
# rename gallery image to original name, use sequence name if turned off
rename_ori = False

# set download proxies
# currenlty supported: socks5/4a, http(s), glype
# by default, proxy is only used on webpages
proxy = []
# also use proxy to download images
proxy_image = True
# only use proxy on images, not webpages
# if set to True, the value of proxy_image will be ignored
proxy_image_only = False

# bind jsonrpc server to this address
rpc_interface = 'localhost'
# bind jsonrpc server to this port
rpc_port = None
# jsonrpc secret string
rpc_secret = None
# auto open browser on rpc start
rpc_open_browser = True

# make an archive (.zip) after download and delete directory
make_archive = True
# specify ranges of images to be downloaded, in format
# start-end, or single index, use comma to concat
# multiple ranges, e.g.: 5-10,15,20-25, default to
# download all images
download_range = None
# scan threads count
scan_thread_cnt = 1
# download threads count
download_thread_cnt = 5
# set image download timeout
download_timeout = 10

# ignore these error codes, continue download
# to use predefined error codes, use:
# import const as __c
# ignored_errors = [__c.ERR_QUOTA_EXCEEDED]
ignored_errors = []

# define log path
log_path = "eh.log"
# set log level
log_verbose = 2

# save tasks to h.json
save_tasks = False

# delete files when deleting a task
delete_task_files = False

# retry a connection if per thread speed is lower than this value, unit is KB per second
low_speed_threshold = 10

# turn on auto update of program "check" for check only and "download" for download
auto_update = "download"
# set to true to update to dev branch
update_beta_channel = False
fffonion commented 3 years ago

@frankli998 使用源代码运行时,将config.py拷贝到当前目录下修改。如果有问题请重开issue:)