TheBeastLT / torrentio-scraper

Apache License 2.0
858 stars 105 forks source link

How is a magnet retrieved from an infohash? #185

Closed vezaynk closed 10 months ago

vezaynk commented 11 months ago

I'm exploring the torrentio source and it seems like it returns an "infohash" if realdebrid isn't configured.

I'm assuming that it later looks up the magnet url based on that infohash on the stremio server. Where I'm struggling through, is how does that happen?

I can't find an endpoint that converts infohashes to magnet links (despite there being an internal function to do that).

TheBeastLT commented 10 months ago

This is not related to the addon.

vezaynk commented 10 months ago

Its a question about how the add-on works. Its not unrelated.

TheBeastLT commented 10 months ago

This is a repo for a specific addon's issues. For general info about addons look https://github.com/Stremio/stremio-addon-sdk