Is there an existing issue for this?
Current Behavior
Cannot enable The Pirate bay as test always fails when Cloudlare and FlareSolverr enabled:
"Unable to access apibay.org, blocked by CloudFlare Protection."
Manually running the either baseurl or the json file through Flaresolverr works.
It appears that we expect a json file, but when FS is enabled, it will return the html file with json in <pre> tags in the body.
Expected Behavior
Test should pass
Steps To Reproduce
- From Prowlarr select The Pirate Bay indexer
- Ensure Cloudflare is active and FlareSolverr is enabled on indexer
- Run Test
- See error
Environment
- OS: Ubuntu 24.04.3
- Prowlarr: 2.3.0.5236-ls134 by linuxserver.io
- Docker Install: Yes - lscr.io/linuxserver/prowlarr:latest
- Using Reverse Proxy: no
- Browser: N/A
What branch are you running?
Master
Trace Logs? Not Optional
What I see in the Trace: prowlarr.trace.txt
-
GET https://apibay.org/precompiled/data_top100_recent.json
-
Detect Cloudflare
-
Retry with FlareSolverr
-
Get HTML with embeded json <--- Is this an issue as yml seems to expect json not HTML
See https://github.com/Prowlarr/Indexers/blob/master/definitions/v11/thepiratebay.yml#L156-L158
-
RateLimit Trigger
-
Retry GET https://apibay.org/precompiled/data_top100_recent.json
-
Fail as Cloudflare still enabled...
-
Return Error
Trace Logs have been provided as applicable. Reports will be closed if the required logs are not provided.
Is there an existing issue for this?
Current Behavior
Cannot enable The Pirate bay as test always fails when Cloudlare and FlareSolverr enabled:
"Unable to access apibay.org, blocked by CloudFlare Protection."
Manually running the either baseurl or the json file through Flaresolverr works.
It appears that we expect a json file, but when FS is enabled, it will return the html file with json in
<pre>tags in the body.Expected Behavior
Test should pass
Steps To Reproduce
Environment
What branch are you running?
Master
Trace Logs? Not Optional
What I see in the Trace: prowlarr.trace.txt
GET https://apibay.org/precompiled/data_top100_recent.json
Detect Cloudflare
Retry with FlareSolverr
Get HTML with embeded json <--- Is this an issue as yml seems to expect json not HTML
See https://github.com/Prowlarr/Indexers/blob/master/definitions/v11/thepiratebay.yml#L156-L158
RateLimit Trigger
Retry GET https://apibay.org/precompiled/data_top100_recent.json
Fail as Cloudflare still enabled...
Return Error
Trace Logs have been provided as applicable. Reports will be closed if the required logs are not provided.
trace- that are relevant and show this issue.