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

Resume support #83

Closed
za3k opened this issue Apr 12, 2017 · 5 comments
Closed

Resume support #83

za3k opened this issue Apr 12, 2017 · 5 comments

Comments

@za3k
Copy link

za3k commented Apr 12, 2017

Right now, when I download a comic with --all, it often fails midway for various reasons. It would be nice to have --all and -N support resuming from a specific URL, or a previous failed download, so re-running with --all doesn't traverse the entire website up to that point.

@za3k
Copy link
Author

za3k commented Apr 14, 2017

OK, thought about this a little more, and maybe what's wanted even more is better retry support to begin with (independent of the plugin).

@TobiX
Copy link
Member

TobiX commented Apr 15, 2017

Currently, dosage doesn't keep any state between runs. You can manually resume from a specific comic by using the comicname:id syntax (see dosage -m xkcd for the exact index syntax per comic). Re-runnig with -a always traverses the whole comic site, without re-downloading the image files.

Resuming from an arbitrary point is on my todo list, but pretty hard with dosage's current design...

@DavidAccola
Copy link
Contributor

DavidAccola commented Apr 8, 2023

OK, thought about this a little more, and maybe what's wanted even more is better retry support to begin with (independent of the plugin).

What plugin is this talking about? I'm having some issues with a site giving sporadic 500s, but no issue later. If there's a way to make dosage retry I'm interested.

I'm also curious to know what the most efficient way to use the comicname:id syntax to get a list of specific strips would be. (i.e. the list I've compiled of strips I got 500s on.)

@za3k
Copy link
Author

za3k commented Apr 9, 2023

Sorry, it's been five years since I reported this. I don't even remember what dosage is any more.

@TobiX
Copy link
Member

TobiX commented Apr 10, 2023

@DavidAccola Please open a new issue instead of hijacking age-old issues - I'm tracking the general idea of "resuming" as issue #261 (for the record, dosage has a bit of "retrying" logic already, since it is build on python requests, but nothing on a more "global" scale)

@za3k Sorry for the noise, closing the issue.

@TobiX TobiX closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2023
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

3 participants