-
Notifications
You must be signed in to change notification settings - Fork 498
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
Discussion: Breaking changes in qBittorrent search-engine #121
Comments
👍 |
I like it, but I'm already a Jackett user. |
Updated the first message with the changes required. @Chocobo1 Would you like to work in the development? I can test everything carefully. :) |
I probably won't have much time to do anything significant. |
Of course you can. You have all the details in the first message. Just mention me when you have a PR or something. If at any point you are not longer interested in implementing this, please, notice me. |
Imho the python integration has been there for a long time and it would not be ideal to drop it completely after all the work it required, just drop python2. Also, not all sites are supported and you can't use the "go to the description page" option. |
These would be the sites that we have but jackett does not:
But yeah, it sounds like a sensible idea, and there is no reason why these sites above could not be implemented in jackett.
Jackett does support that |
I opened some requests in Jackett to add them. |
Has anything already been done regarding this? I did upgrade my qBittorrent to 4.2.3 after which I still see all the plugins I had before, but "categories" only list "All categories". Also, sometimes plugins do not find anything anymore. I agree that Jackett is a powerful plugin, but currently setting it up, running a separate process/server, configuring API keys and it being much slower than "normal" plugins, is not that good. I also see many errors in Jackett log, which implies that not everything works as reliably (of course, I have most of the indexers enabled for testing purposes, which might cause problems too - I will try to limit indexers). Search functionality has been a killer feature for me so far when choosing a torrent client and if this changes then it needs to be easy/transparent to use (and Jackett is definitely not). |
As far as I know no one is working in this. Most of the plugins included in qBittorrent are working (just make sure you have them updated). The categories are not tested well, just use "all categories".
I'm Jackett developer too. These issues are real and are caused because Jackett has an API called "agregator" that sends the requests to all trackers at the same time.That API is not designed for use in production and its use is discouraged. It doesn't work well because it will wait until all trackers respond and if one tracker fails it causes problems in the others. In the current implementation of qBittorrent we are using that, but with the proposed changes the idea will be to list all indexers in qBittorrent and make separate requests. That is working really well in Jackett.
I agree but qBittorent developers are not interested in maintaining this (an most of them use jackett anyway). In addition, it is increasingly difficult to maintain trackers because they have security measures such as re-captcha and cloudflare. Jackett has mechanisms to circumvent those protections. |
@ngosang thank you for your thoughts.
My point was that they were working before and stopped working after upgrading. That's why I asked. It doesn't really matter to me because I always have been using "all categories" anyway. Just an observation.
Looking at the Jackett logs that was my initial suspicion too, that it works exactly like you just described in here. Good that you confirmed it, since that explains a lot. When I did enable all (public) indexers in the beginning then I had to start looking at the log and disable some, which were failing thus causing entire search to not return any results. Using your proposed API does make sense and sounds like a good idea.
I totally understand this. One way of solving this problem would be to create better integration between Jackett and qBittorrent where Jackett is bundled with qBittorrent or can be installed somehow throught qBittorrent and it would start/stop Jackett server and configure API key automatically or whatever so that end-user would not need to know anything about Jackett or how to configure it etc. I'm quite sure that this is also not a small task and I totally understand that PRs are welcome since I'm developing some OSS stuff too. Just my thoughts how things could be improved. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Well, it looks acceptable, except that it loses a bit of vertical space, which might worry someone. |
Good point, agree that horizontal space is cheaper. But the button to bring out the dialog would take up approximately the same amount of space. So I guess the ideal solution would be to position the tabs vertically on the right, the same we do it for the banned IPs tab. |
Nice to hear that. Please, quote me when there is something to test. I can help with that. |
In the docs above is said:
But actually I see Jackett provide |
Yes, you are right. I will fix it in Jackett today. How it affects you? |
👍
I needed to know what format the data is provided in Torznab in order to parse it. When I saw I have a sad experience of working with RSS, when even very soft requirements of the standard are often not met by server side. So in this situation, I would prefer that the Jackett bugs, if found, be fixed in Jackett without any workarounds in qBittorrent. |
@glassez it's already fixed. New Jackett version will be released tomorrow. If you find more things just tell me. Released https://github.com/Jackett/Jackett/releases/tag/v0.18.255 |
This comment has been minimized.
This comment has been minimized.
Well, I've finally completed the bulk of the work on this (qbittorrent/qBittorrent#15126). It's still a draft, since some little things are missing, such as validating the input data, etc. But you can already try it in practice. At the same time, I would have heard preliminary feedback. Just please don't ask for anything more advanced than what is there. I would like to limit myself to the basic functionality at the first stage. Advanced features can be added later. |
I repeat qbittorrent/qBittorrent#15126 (comment) here. Maybe I'll get an answer after all...
|
Hello all, What is the state of the proposed changes on macOS version of QBT 4.5.0 / LT2.0? According to the WIKI page for Search Plugins this has already been implemented yet I am seeing a nova3 directory wasn't removed upon install of v4.5.0 and I still see Python plugins. No mention of adding a torznab indexer. Do we need to remove the nova3 directory for the new torznab feature to be implemented properly? |
It's not implemented yet and nobody is working on it. The development is here => qbittorrent/qBittorrent#15126 |
@ngosang I had some issues with Jackett (since resolved) and that led me to discover Prowlarr. I saw that Torznab implementation has stalled, but since Jackett already works I thought that means qBt can talk Torznab well enough already and I could just feed it Prowlarr's info in jackett.json since it's just another Torznab implementation. |
@amamelia Jacket is working fine. The qBittorrent plugin only works with Jackett but it could be modified to work with Prowlarr. |
QB最新版“动漫花园”导入不了 |
As per -> #121 (comment) What is the status of all this? version 5 is out now and there have been major issues with the search plugins disappearing/not working. Are we only using Jackkett now? I think the community would really appreciate some very clear language on what the proper usage of Qbittorrent's search function looks like. |
@travibe The search plugin disappearing / not working has nothing to do with version 5. The affected users either had very old Python runtimes or unmaintained, outdated plugins installed. The plugins auto install, auto update and just work out of the box, just like they did before as of today. If you require assistance with your installation, please visit our Reddit, Discord or Forums, whichever you prefer. |
Thank you, I greatly appreciate you following up on this, and for being so quick as well. |
my main question is: should be the new qbittorrent vers. also still PORTABLE...???...i mean that the change you make in the search engines feature will be compatible with the portability of Qbittorrent and Jackett,i've also it in portable way, |
Update: Proposal => qBittorrent.pdf
Hello everybody,
TLDR: I don't have time to maintain the plugins, the search-engine code needs a huge refactor. I'm proposing to remove all search plugins and Python code and make a native integration with https://github.com/Jackett/Jackett
First of all, I think this feature is used by thousands (take a look at Reddit) and qBittorrent is the only bittorrent client with this functionality. So, I don't want to remove it. Furthermore, in the latest releases is supported in the WebUI making it convenient for seedboxes.
The current implementation (code) is a mess, both, the C++ and Python parts. In this issue #84 I list all required changes to make it clean and more maintainable. That are a lot of changes, breaks compatibility, I don't have the skills to make the changes in the C++ code, and more important, there aren't maintainers for the plugins.
Instead of doing the changes, I propose to remove all Python code, including official and unofficial plugins and make native integration with Jackett for the following reasons.
I want to know what do you think about and I would like you to try Jackett https://github.com/qbittorrent/search-plugins/wiki/How-to-configure-Jackett-plugin
ping @qbittorrent/demigods @qbittorrent/webdev @qbittorrent/frequent-contributors @qbittorrent/bug-handlers
UPDATE: Implementation draft
NOTE: In the first version I will try to make as few changes as possible.
1. Enable search engine
2. Install plugins / search configuration
3. Search UI
4. Perform searches with Torznab
** qBittorrent column => Torznab
** name => title
** size => size (in bytes)
** seeders => seeders
** leechers => peers - seeders
** search engine => torznab indexer name configured by the user (the real name of the indexer isin the response but it can confuse the user)
** description page => comments
** download link => link (can be a maget or a http link)
5. Future steps
The text was updated successfully, but these errors were encountered: