-
Notifications
You must be signed in to change notification settings - Fork 12
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
Proxy errors #9
Comments
I have tried HTTP, HTTPS, and Socks5 proxies, but none of them have been able to solve the problem. |
Most of the time, there are errors when obtaining the favorite list, but sometimes they start downloading images without any speed. |
It seems that some requests are not covered by the proxy. |
unexpected EOF Here is a new question. When the download file encounters the above error, it will not automatically retry the download and will be skipped. (and generate incomplete. tmp files) And there is another small issue. |
Then there are some functional suggestions: (Taking this page as an example:)
|
Thank you for your advice! |
EOF errors occur randomly. Usually it doesn't appear when I download it again. |
I understand. I will try to add re-download and clear the temporary files. |
The file name will be replaced with the file's hash value to confirm more quickly that the file has been downloaded and is complete, as it appears that the file name on the site may be changed. |
In the above link, we would like the videos in the Downloads section to be saved as "xxx.mov", while the images are arranged in sequential order in the folder. This is more convenient for organizing and managing databases. [Fanbox]xxxx xxx.mov And I suddenly realized that after encountering an EOF error, the other images after the error file in this post will not be downloaded. |
I see what you mean, this is a good suggestion, and this naming convention also seems more reasonable |
Thank you for your work. After testing, the new version can run in --proxy. ...... During the test run, it was found that this file reported an error, but was not retried but skipped. For me, I hope that all files will be constantly retried when encountering download errors until they are successful. Perhaps we should force a retry when encountering any errors? (For a large database, finding and filling in gaps is even more painful.) Another small question is that downloading more than three files simultaneously in proxy mode will result in a 429 error. Does this mean that 'max download parallel' needs to be modified to below 3? ...... |
Yes, if you keep encountering HTTP 429, reducing max download parallel may be a good option. |
I have roughly looked at the "59a979f" branch (I don't know programming, I just skimmed through it), and perhaps .pdf (Multi page manga) or [.psd .psb .sai .pntr .clip] (Drawing Source File) also need to be considered. I checked my fanbox and fantia databases, and the file format is probably missing these. |
I was also wondering which category to put these graphics files in, maybe it would be better to put it in a separate category? |
PDF files should preferably be in a separate category, while source files [.psd .psb .sai .pntr .clip] should be in the same category. It may be a bit redundant, but please also note that when obtaining the file name for the psd file mentioned above, it is "xxx.psd " instead of "Download xxx.psd ". |
I suddenly remembered a problem when using the command line to input parameters before: swapping the order of parameters would result in the inability to obtain 'creator'. Due to using. yaml instead, I forgot the specific error information before, but it does exist. |
I think the current categories are sufficient. You can use the default template: "[<ks:service>] <ks:creator>/<ks:post>/<ks:filename><ks:extension>"
image-template: "[<ks:service>] <ks:creator>/<ks:post>/<ks:index><ks:extension>"
video-template: "[<ks:service>] <ks:creator>/<ks:post>/video/<ks:filename><ks:extension>" The result will be something like: |
I think this is feasible. For files in 'Downloads', normal file names can generally be obtained. It is indeed possible to merge them for processing. If convenient, provide a exe for try, waiting for new Releases. |
Sorry, I just forgot. |
Congratulations, the program has been running continuously for an hour, and all download errors have been retried. Each file is downloaded well according to the rules. |
Thank you so much for your feedback and advice! |
There seems to be some errors in the proxy settings. When I specify a proxy server in this setting, such as setting it to --proxy http://127.0.0.1:1080 , still encountering some unreachable errors. And when I used a --proxy, I observed a link established with kemono.party, but it still prompts for various connection errors.
But when I took over all network connections using a virtual network card, the error no longer occurred. All downloads are proceeding normally. The virtual network card and proxy server use the same server connection. I doubt if there are any network connections that have not been overwritten by proxy settings.
Here are some error messages I have encountered:
Error getting favorites: Get https://kemono.party/api/favorites?type=user: dial tcp 199.59.148.209:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
HTTP:EOF (Forgotten specific information)
The text was updated successfully, but these errors were encountered: