rachmadaniHaryono / we-get

:icecream: Command-line tool for searching torrents.
MIT License
153 stars 26 forks source link

Suggestion: generic we_get/module to leverage Jackett API defintions #31

Open Lucas-C opened 3 years ago

Lucas-C commented 3 years ago

Hi,

I just want to point you to the extensive & well maintained endpoints list here: https://github.com/Jackett/Jackett/blob/master/src/Jackett.Common/Definitions

I do not know of any existing Python code that parses those files, but it may be very handy for we-get to benefit from those well-maintained endpoints definitions.

rachmadaniHaryono commented 3 years ago

thank you for that, i do use jackett as well but i just find out from your comment that it have those yaml files.

from quick google search i can't find python parser for those files.

i don't plan to implement those parser here.

also based on https://github.com/Jackett/Jackett/wiki/Definition-format#proposed-changes it can change in future.

but maybe i can implement jacket rss feeds through config file

rachmadaniHaryono commented 3 years ago

basic feature implemented on dev branch https://github.com/rachmadaniHaryono/we-get/tree/dev

put the jackett rss feed url to config run the program for example we-get -c config.cfg --search 'linux mint'

Lucas-C commented 3 years ago

I've just tested it and it works really fine, thank you!

I struggled a bit to find Jackett API key without the web UI, but it was in ~/.config/Jackett/ServerConfig.json

You may also want to add a few words in your README about this config.cfg file