make prowlarr use the guid (magnet link) instead of the weird http url that's stored in the magnetUrl field

This commit is contained in:
maxDorninger
2025-07-27 15:19:05 +02:00
parent 4a3dea3cab
commit d3c8e6ea1f

View File

@@ -44,7 +44,7 @@ class Prowlarr(GenericIndexer):
IndexerQueryResult(
download_url=result["downloadUrl"]
if "downloadUrl" in result
else result["magnetUrl"],
else result["guid"],
title=result["sortTitle"],
seeders=result["seeders"],
flags=result["indexerFlags"],