Coder Social home page Coder Social logo

Custom download handler about greg HOT 6 CLOSED

manolomartinez avatar manolomartinez commented on May 27, 2024
Custom download handler

from greg.

Comments (6)

manolomartinez avatar manolomartinez commented on May 27, 2024

That makes total sense, and shouldn't be too difficult. Let me look into that.

from greg.

manolomartinez avatar manolomartinez commented on May 27, 2024

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.

from greg.

irtigor avatar irtigor commented on May 27, 2024

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.

from greg.

manolomartinez avatar manolomartinez commented on May 27, 2024

This is now implemented in the tip of the development branch. Please install it, and let me know how it goes.

from greg.

irtigor avatar irtigor commented on May 27, 2024

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).

from greg.

manolomartinez avatar manolomartinez commented on May 27, 2024

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).

from greg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.