-
Notifications
You must be signed in to change notification settings - Fork 39
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
Custom download handler #1
Comments
That makes total sense, and shouldn't be too difficult. Let me look into that. |
Could you elaborate on the download-handler part of your query? Would the following option be what you are after?: Greg might optionally simply print a list of download links to stdout, that you could then pipe to a script. I'm trying to think of an alternative that would fit as many use cases as possible. |
I was thinking in it as a configuration option, like "Download command = aria2rpc addUri %u --dir %d", that once set in a section would be used instead of the default way (%u and %d would be replaced by the link and download directory), but a list of links works too, at least in my case. |
This is now implemented in the tip of the development branch. Please install it, and let me know how it goes. |
It worked well with a few feeds, but started to misbehave after I added the following feed url: http://feed.matandorobosgigantes.com Greg downloads the latest item of this subscription multiple times, appending a underscore at the end of the filename to not overwrite (I'm using the default handler for this subscription -- no specific config). |
Yes, this feed, for some reason, carries 16 (!) copies of the download link in the enclosures. This is now fixed in master, I think (Greg now removes dupes before downloading). Give it a try, please (and also comment on the new issue #8 that I've just opened). |
Hi, I would like to be able to set a custom download handler based on mime-type (and/or per feed). Reason:
The text was updated successfully, but these errors were encountered: