Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否考虑加强下载速度限制类功能设置 #47

Open
yangxu9sp opened this issue Mar 8, 2023 · 0 comments
Open

可否考虑加强下载速度限制类功能设置 #47

yangxu9sp opened this issue Mar 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@yangxu9sp
Copy link

功能描述(请清晰的、详细的描述你想要的功能)

比如每下载n个图之后等待m分钟之类的

附加信息(其他的与功能相关的附加信息)

很多漫画一话其实是合并了很多话,导致页数很多
下载的时候经常连续下了几十张图以后就报错,应该是请求过于频繁导致被ban吧?
虽然下载里有"失败后1分钟重试"选项,但体感并不会解决这个问题
而页数少的就可以毫无问题的连续下载很多话

效果演示(可以提供可借鉴的图片)

image

Log

2023-03-08 18:05:59,816 - server.py[line:301] - INFO: request-> backId:232, DownloadBookReq, url:https://cdn-msp.jmapiproxy1.cc/media/photos/393543/00085.webp, proxy:{'http': None, 'https': None}, method:Download, headers:{'Accept-Encoding': 'None'}, params:{}
2023-03-08 18:05:59,834 - connectionpool.py[line:442] - DEBUG: https://cdn-msp.jmapiproxy1.cc:443 "GET /media/photos/393543/00085.webp HTTP/1.1" 200 None
2023-03-08 18:05:59,835 - tool.py[line:189] - ERROR: could not create decoder object
Traceback (most recent call last):
  File "tools\tool.py", line 176, in GetPictureSize
  File "PIL\Image.py", line 3009, in open
  File "PIL\Image.py", line 2995, in _open_core
  File "PIL\ImageFile.py", line 121, in __init__
  File "PIL\WebPImagePlugin.py", line 63, in _open
RuntimeError: could not create decoder object
2023-03-08 18:05:59,836 - user_handler.py[line:813] - ERROR: could not create decoder object
Traceback (most recent call last):
  File "server\user_handler.py", line 806, in __call__
  File "tools\tool.py", line 864, in SegmentationPicture
  File "PIL\Image.py", line 3009, in open
  File "PIL\Image.py", line 2995, in _open_core
  File "PIL\ImageFile.py", line 121, in __init__
  File "PIL\WebPImagePlugin.py", line 63, in _open
RuntimeError: could not create decoder object
2023-03-08 18:05:59,838 - download_status.py[line:34] - WARNING: Download error, bookId:393543, epsId:0, index:84, stMsg:
@yangxu9sp yangxu9sp added the enhancement New feature or request label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant