sergiotapia / magnetissimo

Web application that indexes all popular torrent sites, and saves it to the local database.
MIT License
3k stars 190 forks source link

Support for Torznab API #56

Open tylergets opened 7 years ago

tylergets commented 7 years ago

It would be awesome to the support the Torznab api, as it would allow many automation tools to work with this project.

Here is documentation from Sonarr, an automation tool. https://github.com/Sonarr/Sonarr/wiki/Implementing-a-Torznab-indexer

sergiotapia commented 7 years ago

I'd love to implement this. Thanks for the heads up!

lukyjay commented 6 years ago

It has been 11 months, has there been any progress on this?

tchoutri commented 6 years ago

@lukyjay no. The short-term goal is to ensure that all of the existing crawlers work properly, then I will take a look at that. I'll ping you when it's implemented.

Happy Holidays.

tchoutri commented 6 years ago

@lukyjay Implementing a Torznab API crawler would go against our "Run without ceremony" goal. This is a self-hosted service so each user would have to enter an endpoint URL and perhaps API credentials. We currently do not have a mechanism to start/stop crawlers at runtime, so we cannot include a torznab crawler that wouldn't be bothering users who don't use it. I'm closing this issue for now, we'll open it when it becomes technically possible to provide a Torznab crawler.

gjedeer commented 6 years ago

Hey @tchoutri of course as a contributor you have the deciding voice here, but I think you're misunderstanding what this ticket is about. Implementing a Torznab-compatible API means that a GET request to

https://my.magnetissimo.instance/api?t=search&cat=..,..&q=Anime+Title+123

would return an XML with search results in the already harvested magnets. It's just a different format for requesting searches. OP is not requesting that you crawl torznab-compatible services (or so I think).

sergiotapia commented 6 years ago

Right, this we can do most definitely. It's just spitting out Torznad formatted XML.

tchoutri commented 6 years ago

Oh then it's not a problem at all. :)

sergiotapia commented 1 year ago

It's been a ludicrous amount of time but I'm going to tackle this tomorrow. 👿

askiiart commented 1 year ago

@sergiotapia Was this finally added? If so, how can I add it to *arr? I'm just getting an error when I try to connect (I'm using http://x.x.x.x:4000/api)

lukyjay commented 1 year ago

@sergiotapia Was this finally added? If so, how can I add it to *arr? I'm just getting an error when I try to connect (I'm using http://x.x.x.x:4000/api)

He said he'd make a start, not finish 🙂

ldexterldesign commented 1 year ago

👋

Has this task been done?: if yes then this issue can be closed

Hope this helps

Regards

askiiart commented 1 year ago

@ldexterldesign I believe issue #145 was closed because it's a duplicate of this.

ldexterldesign commented 1 year ago

BUMP

If this issue gets done then can setup prowlarr, integrate with the other *arr apps and start making use of this app 🙂

Then I would do https://github.com/sergiotapia/magnetissimo/issues/162

Regards

ldexterldesign commented 1 month ago

👋 @sergiotapia,

Hope you're OK!

Thanks for continued work on this

Did you mean to create a duplicate issue?

Is sonarr et al. supported yet..?: if yes then I'll update and have a play 👀

Yours hopefully