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

[Exhentai] Display page links for failed downloads #6343

Closed
tkzv opened this issue Oct 18, 2024 · 1 comment
Closed

[Exhentai] Display page links for failed downloads #6343

tkzv opened this issue Oct 18, 2024 · 1 comment

Comments

@tkzv
Copy link

tkzv commented Oct 18, 2024

When you press Ctrl-C during a download, the program displays a message [exhentai][info] Use '...' as input URL to continue downloading from the current position. This is very convenient, since the URLs are impossible to guess, take time to find, and the crawler accesses them by number very slowly.

When a download and both fallback URLs fail (e.g. because of server troubles), the error message only displays the generated downloaded image name: [download][error] Failed to download ....jpg It would be more convenient, if it also displayed the page URLs.

@mikf
Copy link
Owner

mikf commented Oct 21, 2024

With 2e1dab3 and 10c56a5, you'll be able to use

--print "error:https://exhentai.org/s/{image_token}/{gid}-{num}"

to display the image page URLs of failed downloads.

You can something similar with the current gallery-dl version by using a metadata post processor with "filename": "-" and "format": "https://exhentai.org/s/{image_token}/{gid}-{num}".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants