PowderPlayer icon indicating copy to clipboard operation
PowderPlayer copied to clipboard

[Feature Request] In App Torrent Search Using Jackett API

Open zero77 opened this issue 6 years ago • 2 comments
trafficstars

Can you please add Jackett API support to search for torrents, it uses the Torznab protocol.

Torznab example:

GET http://servername.com/api?t=tvsearch&apikey=xxxq=The%20Beverly%20Hillbillies&season=S01

screenshot_2018-11-12 sonarr sonarr

Also the following may be helpful:

  • ResultsController.cs is where the query endpoints are located (Potato and Torznab actions)
  • Torznab action returns XML and accepts TorznabRequest as an argument
  • Potato action returns JSON and accepts TorrentPotatoRequest as an argument
  • To view configured trackers one can issue the following request: http://127.0.0.1:9117/api/v2.0/indexers/all/results/torznab/api?apikey=[APIKEY]&t=indexers&configured=true
  • To query all configured trackers one can issue the following request: http://localhost:9117/api/v2.0/indexers/all/results/torznab/api?apikey=[APIKEY]&q=hackers%201995

Example, search plygin used by qbittorrent: https://raw.githubusercontent.com/hannsen/qbittorrent_search_plugins/master/jackett.py

Thanks https://github.com/Jackett/Jackett 68747470733a2f2f692e696d6775722e636f6d2f3064316e6c37672e706e67

zero77 avatar Dec 13 '18 17:12 zero77

Lol, I know Jackett, already implemented it in a different project: https://github.com/jaruba/PowderWeb

Amazing work on the details of this request though, I can add support for it, sure.

jaruba avatar Dec 14 '18 16:12 jaruba

Thanks

zero77 avatar Dec 14 '18 16:12 zero77