Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info link going to download url #758

Closed
AmazingYan-1 opened this issue Feb 11, 2022 · 7 comments
Closed

Info link going to download url #758

AmazingYan-1 opened this issue Feb 11, 2022 · 7 comments
Labels

Comments

@AmazingYan-1
Copy link

Hi team

My setup is very simple. Nzbhydra2 retrieving records from jackett.

I'm using http://www.dereferer.me/?$s as my dereferrer url and it's working fine. However when I search for a torrent, and when i click the "i" icon next to the download icon, it should take me to the details page right? 95% its working fine. But so far I've identified when you;re using torrentleech and Blutopia as your tracker, that "i" icon is directly going to the download url. like this -

http://www.dereferer.me/?https%3A//www.torrentleech.org/download/2019509/torrentname.torrent

So when i click the "i" icon the torrent file is getting downloaded. I don't want that instead I need to go to the details page. It's working fine with all other trackers but only these 2 giving problems. Any idea why?

  • What do you expect to happen? What does happen?

When you click the i icon I'd expect it to redirect me to the torrents details page.

  • Have you searched for this problem? You don't have to answer, just make sure.

Yes

  • Can the problem be reproduced? How?

Simply select Torrentleech or Blutopia as your Indexers and search something. You will see the results. From there select any one of the listing and click the "i" icon. Screenshot - https://www.imagebam.com/view/ME7QNLS

  • Use a proper title. Describe the problem succinctly, don't just copy and paste the error message.

OK

  • If you use a docker container please tell me which one.

I'm using Ubuntu vps just for jackett and nzbhydra2

  • If there's a bug with the GUI post at least your current version, OS, resolution and browser and post a screenshot if necessary.

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
Using chrome latest version.

The issue is quite simple. When you click the "i" icon it should take you to that particular indexers details page - which is working fine. But only with 2 trackers its downloading the torrent instead going to the details page.

Let me know if you need more details.

@theotherp
Copy link
Owner

Remove the dereferer, it's not needed anymore with any modern browser as hydra sets a header that instructs the browser to remove the referer information.

I can't test it as torrentleech is private. Anyway, if the details page works for some indexers but not for others it is probably a problem with jackett. I just show the information provided by the indexer which is in this case jackett. https://github.com/Jackett/Jackett/blob/master/src/Jackett.Common/Definitions/torrentleech.yml looks fine though.

@AmazingYan-1
Copy link
Author

AmazingYan-1 commented Feb 26, 2022

Hi @theotherp I just did a test again and I was able to replicate it.

So I also went to jackett and searched for an episode which correctly linked to his details page. For example in nzbhydra if i compare 2 tracker results -

HD torrents (i) icon is linked to - https://hd-torrents.org/details.php?id=XXXXXXXXXXXXXXXXXXXXXXXXXX (which is correct)

Whereas Torrentleech (i) icon is linked to - https://www.torrentleech.org/download/123123123/XXXXXXX.torrent (which is incorrect because the info link it downloading that .torrent file)

I have around 20 indexers and noticing this issue with torrenleech and Blutopia only...

You told me you're showing the info provided by jackett, may i know from where you're pulling that info url?

Thanks

@theotherp
Copy link
Owner

Check the hydra log for the URL of the request made to jackett. Open that URL in your browser and you can see the infos. Do that with the URL for the request for an indexer where the values are correct and then compare them.

Then create an issue on the jackett github page.

@AmazingYan-1
Copy link
Author

@theotherp I cannot open that url in my bowser because i checked the nzbhydra logs and the link is starting with - http://127.0.0.1:9117 -

`

Time (newest first) Level Logger Message
2022-02-27 14:05   SearchWeb Web search took 2336ms
2022-02-27 14:05   Searcher Returning results 1-12 from 12 results in cache. A total of 15 results is available from indexers of which 3 were already rejected
2022-02-27 14:05   Torznab TorrentLeech: Successfully executed search call in 2272ms with 15 total results
2022-02-27 14:05   SearchResultAcceptor Rejected 3 search results from TorrentLeech for the following reason: Not enough seeders
2022-02-27 14:05   Torznab TorrentLeech: Calling http://127.0.0.1:9117/api/v2.0/indexers/torrentleech/results/torznab/api?apikey=XXXXXXXXXXXXXXXXXXXXXXX&t=search&extended=1&q=abc%20def%20home&password=1&limit=1000
2022-02-27 14:05   IndexerForSearchSelector Selected 1 out of 26 indexers: TorrentLeech
`

so it's not going to open. I'm not running nzbhydra / jackett locally. I'm using a VPS to run this script.

In any case, no big issue. If you feel its not an issue with nzbhydra free free to close this report.

Thanks for your time.

@garfield69
Copy link

@AmazingYan-1
Copy link
Author

Hi @theotherp pls see the comment above.. I contacted jackett devs and they have provided a solution to this problem :) Hopefully there will be an update soon.

@benfishbus
Copy link

THANK YOU!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants