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

[FEATURE REQ] Filters for custom torznab attributes (tag, etc.) #1300

Open
gnir-gh opened this issue Dec 10, 2023 · 1 comment
Open

[FEATURE REQ] Filters for custom torznab attributes (tag, etc.) #1300

gnir-gh opened this issue Dec 10, 2023 · 1 comment
Labels
Feature request New features, improvements etc feeds Feeds: RSS, Torznab and Newznab filters Filters

Comments

@gnir-gh
Copy link

gnir-gh commented Dec 10, 2023

Is your feature request related to a problem? Please describe.
Torznab feeds sometimes contain extended attributes that can be very useful for filtering. For example, "tag" named attribute is sometimes used to indicate 2x upload torrents, for example. Something like

<torznab:attr name="tag" value="doubleupload" />

Other potentially useful attributes include the number of seeders ("seeders" attribute) and leechers ("leecher" attribute) and finished downloads ("grab" attribute) at grab time, e.g., for checking whether you are early in a swarm. Since the availability of these attributes varies from tracker to tracker, it would be nice to have a custom solution that users can tailor for specific trackers in each filter.

Describe the solution you'd like
A new section in a filter that allows users to define the attribute(s) and value(s), preferably with an option for regex matching.

Describe alternatives you've considered
A more user-friendly alternative is to parse only specific attributes, and have a separate filter option for each. However, I prefer the flexibility that my proposal offers. The middle-ground approach is to give a widely available attribute (e.g., seeders) its own section while allowing custom attributes.

@gnir-gh gnir-gh added the Feature request New features, improvements etc label Dec 10, 2023
@zze0s zze0s added filters Filters feeds Feeds: RSS, Torznab and Newznab labels Dec 30, 2023
@chiva
Copy link

chiva commented May 22, 2024

Very interested on this too.

I think having some very advanced option to use xpath or jq can greatly extend the flexibility of the software, so that we can use the tool on more complex scenarios without having to wait for the exact feature to be developed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New features, improvements etc feeds Feeds: RSS, Torznab and Newznab filters Filters
Projects
None yet
Development

No branches or pull requests

3 participants