-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
RSS search feed categories not handled for YggTorrent #55
Comments
Seems the category is currently set in the YML config not passed as a query parameter Indexers/definitions/v1/yggtorrent.yml Line 113 in 6abd82d
Indexers/definitions/v1/yggtorrent.yml Line 228 in 6abd82d
|
I think the problem is here: Indexers/definitions/v1/yggtorrent.yml Line 228 in c7ce0a4
If I understand correctly, the category is retrieved from the configuration of the indexer, instead of being retrieved dynamically. Is there any reason to do that ? Is it possible to change the indexer definition to allow overriding the category from RSS parameters? |
By creating a new instance of the indexer with the Books category set, i can narrow down the results. However, i cannot select a subcategory (like ebooks, or comics, or mags). What would be a proper way to handle this ? The way i see it, we could keep the existing hardcoded category configuration, and add a new subcategory configuration, which would be set in the search url for the Or we could allow dynamic configuration via parameters, which should enable RSS search via I also realize that this is not only impacting RSS, but all type of search. When searching from the Search screen in the Prowlarr UI, the same behaviour happens. |
@garfield69 sorry for the ping, but can you give some background as to why ygg has hardcoded (via config) categories? |
Goes back to Nov 2017 with Jackett/Jackett#2066 |
[meta - xfered to indexers repo] |
Thanks for finding the historical reasons and some context, that helps knowing that the issue is in the indexer definition and not somewhere else. I will try to fix this, and if I get satisfactory results i'll submit a PR. |
@gotson if you're not already aware, you can test it out as a custom yml. swap the filename and id in the yml so it doesn't conflict https://wiki.servarr.com/prowlarr/indexers#adding-a-custom-yml-definition |
yes, i figured that much from the doc already, thanks! |
@bakerboy448 I would need some advice if possible. YGGTorrent only accepts zero or one main category, and zero or one sub-category. The main and sub category parameters are different. Example:
If the same parameter is provided multiple times, only the last one is taken into account. I would need to be able to use the right parameter, depending on the categories provided. I see that I was thinking of checking the prowlarr ID to see whether it ends with |
I'll defer to @Qstick on his thoughts for that |
I'm also puzzled as how Jackett can handle this, given it has the same Cardigann definition 🤔 |
Pretty sure jackett would have the same issue.... I think it may just be easiest to flip the category - using the same categories available in the drop down to the user - based on the parent category sent in the request from *arr if the keywords are empty that'd be the simplest route |
Removes old category setting and the new sub-cat setting from Jackett/Jackett#14248 earlier. Closest thing to addressing this issue other than performing a separate search for every selected sub-category. See info note:
|
resolved in 0bbd604 |
Any fix would be related to / would likely need to fix Jackett/Jackett#13697 |
Jackett/Jackett#14250 actually takes advantage of Jackett/Jackett#13697 not being fixed, as we only want to use Short of performing individual searches for every selected subcategory, as far as I can see this issue is resolved. Or rather it was, #333 temporarily reverted the fix due to Prowlarr/Prowlarr#1628. |
@mynameisbogdan Prowlarr/Prowlarr@ef1ad59 towards this? |
Seem like it since you mentioned Jackett/Jackett#13697 |
I create a new issue to track this. Not sure if it should be in https://github.com/Prowlarr/Indexers instead, feel free to move it if needed.
When searching via RSS, the categories for the YGGTorrent indexer is not cascaded to the actual search.
YGGTorrent is in v1. However it seems to be working for some other v1 indexers like JPopSuki.
YggTorrent search
http://{server}/2/api?t=search&apikey=8c8b5c3b3af441a8a712806e44242524&cat=7000
JPopSuki search 1
http://{server}/8/api?t=search&apikey=8c8b5c3b3af441a8a712806e44242524&cat=3000
JPopSuki search 2
http://{server}/8/api?t=search&apikey=8c8b5c3b3af441a8a712806e44242524&cat=5000
I tried that before, and it works only for some indexers. For example on FileList it's working, but for YggTorrent it's not propagating to the actual indexer search:
Originally posted by @gotson in Prowlarr/Prowlarr#182 (comment)
AB#1788
AB#1793
The text was updated successfully, but these errors were encountered: