sane-bt-search: link to tracking issues for bitmagnet limitations

This commit is contained in:
2025-07-09 06:24:42 +00:00
parent 127d731892
commit e8c5dda396

View File

@@ -15,6 +15,12 @@ returns select results and magnet links.
# - TorrentPotato: <https://github.com/RuudBurger/CouchPotatoServer/wiki/Couchpotato-torrent-provider>
# - its own JSON-based API
#
# about BitMagnet:
# - source: <https://github.com/bitmagnet-io/bitmagnet>
# - DHT crawler/indexer
# - can be queried via torznab API:
# - `curl http://10.0.1.6:3333/torznab/api/?t=search`
#
# about torrent jargon:
# - <https://en.wikipedia.org/wiki/Pirated_movie_release_types>
@@ -268,8 +274,10 @@ class Torrent:
# quirk: bakabt's post-login redirection fails if the slashes aren't just right
tracker_uri = tracker_uri.replace('https://bakabt.me//', 'https://bakabt.me/')
# quirk: bitmagnet doesn't populate the torrent page, except as a link to the website homepage.
# TODO: fix and upstream this into either Jackett or Bitmagnet
# also fix bitmagnet seeders count while here
# - tracking issue: <https://github.com/bitmagnet-io/bitmagnet/issues/375>
# - see open PRs for immediate fix
# quirk: Jackett can't parse bitmagnet's `torznab:seeders`/leechers field:
# - <https://github.com/Jackett/Jackett/issues/15126#issuecomment-1996342455>
if tracker_uri == 'http://10.0.1.6:3333/':
tracker_uri = f"https://bitmagnet.uninsane.org/webui/torrents/permalink/{info_hash}"