error in downloading from torrent9.fm
Closed this issue · 2 comments
Is there an existing issue for this?
- I have searched the existing open and closed issues
Current Behavior
performed a search inside prowlarr on torrent9.fm
select to download
download fails
with following error in the event log:
Request Failed. POST /api/v1/search: Download selectors didn't match for https://www.torrent9.fm/torrent/64143/taxi-1-2-3-4-french-dvdrip-1998-2007
also following exception:
torrent9: An exception occurred while trying selector a:has(i.fa-magnet), retrying with next available selector.: The 'magnet' scheme is not supported.
Expected Behavior
download starts
Steps To Reproduce
look for a torrent inside the torrent9.fm tracker
try to download
Environment
- OS: docker running on Rocky Linux 8
- Prowlarr:1.12.2.4211-ls49 by linuxserver.io
- Docker Install:yes
- Using Reverse Proxy:no
- Browser:chrome
What branch are you running?
Master
Trace Logs?
2024-01-28 17:01:09.8|Info|ReleaseSearchService|Searching indexer(s): [Torrent9] for Term: [taxi], Offset: 0, Limit: 100, Categories: []
2024-01-28 17:01:16.4|Error|Cardigann|torrent9: An exception occurred while trying selector a:has(i.fa-magnet), retrying with next available selector.
[v1.12.2.4211] System.NotSupportedException: The 'magnet' scheme is not supported.
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 112
at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Prowlarr.Common/Http/HttpClient.cs:line 171
at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 103
at NzbDrone.Core.Indexers.IndexerHttpClient.ExecuteProxiedAsync(HttpRequest request, ProviderDefinition definition) in ./Prowlarr.Core/Indexers/IndexerHttpClient.cs:line 42
at NzbDrone.Core.Indexers.Definitions.Cardigann.CardigannRequestGenerator.DownloadRequest(Uri link) in ./Prowlarr.Core/Indexers/Definitions/Cardigann/CardigannRequestGenerator.cs:line 935
2024-01-28 17:01:16.4|Fatal|ProwlarrErrorPipeline|Request Failed. POST /api/v1/search
[v1.12.2.4211] NzbDrone.Core.Indexers.Definitions.Cardigann.Exceptions.CardigannException: Download selectors didn't match for https://www.torrent9.fm/torrent/64143/taxi-1-2-3-4-french-dvdrip-1998-2007
at NzbDrone.Core.Indexers.Definitions.Cardigann.CardigannRequestGenerator.DownloadRequest(Uri link) in ./Prowlarr.Core/Indexers/Definitions/Cardigann/CardigannRequestGenerator.cs:line 966
at NzbDrone.Core.Indexers.Definitions.Cardigann.Cardigann.GetDownloadRequest(Uri link) in ./Prowlarr.Core/Indexers/Definitions/Cardigann/Cardigann.cs:line 198
at NzbDrone.Core.Indexers.HttpIndexerBase1.Download(Uri link) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 194 at NzbDrone.Core.Download.TorrentClientBase
1.DownloadFromWebUrl(TorrentInfo release, IIndexer indexer, String torrentUrl) in ./Prowlarr.Core/Download/TorrentClientBase.cs:line 132
at NzbDrone.Core.Download.TorrentClientBase1.Download(ReleaseInfo release, Boolean redirect, IIndexer indexer) in ./Prowlarr.Core/Download/TorrentClientBase.cs:line 121 at NzbDrone.Core.Download.DownloadService.SendReportToClient(ReleaseInfo release, String source, String host, Boolean redirect, IDownloadClient downloadClient) in ./Prowlarr.Core/Download/DownloadService.cs:line 84 at NzbDrone.Core.Download.DownloadService.SendReportToClient(ReleaseInfo release, String source, String host, Boolean redirect, Nullable
1 downloadClientId) in ./Prowlarr.Core/Download/DownloadService.cs:line 57
at Prowlarr.Api.V1.Search.SearchController.GrabRelease(ReleaseResource release) in ./Prowlarr.Api.V1/Search/SearchController.cs:line 77
at lambda_method160(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 28
at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 41
at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33
at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 38
at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 27
at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 29
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.
- I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain
trace
- that are relevant and show this issue.
The gktorrent indexer also uses the download block for magnets (selector: a[href^="magnet:?"]), but it works fine.
I'm guessing because torrent9's download block is for a URL, which then redirects to a magnet URI, Prowlarr is expecting a torrent file. Working in Jackett, in case there's a solution there.
Duplicate of Prowlarr/Prowlarr#2010