qBittorrent-Ratio-Manager icon indicating copy to clipboard operation
qBittorrent-Ratio-Manager copied to clipboard

Filter condition based on a substring of the tracker's FQDN

Open cybericius opened this issue 1 year ago • 2 comments

Hi,

I like this project, though I haven't set it up yet. My concern is that the torrent site I use has multiple sub-domains and different ports in the tracker FQDN. This can lead to unmatched condition and finally site ban. :) Would it be possible to only look for a specific sub-string (like Excels' HAS function) and not the whole FQDN to identify the tracker? Thanks.

cybericius avatar Jan 17 '24 19:01 cybericius

The tracker matching code only matches against hostname, so differing ports should not be a problem. Does every torrent carry a potentially different subdomain and not just multiple tracker urls, such that a fallback is always available?

If that is the case, it would technically be possible to ignore subdomain or something similar, but I want to be careful there because you can fast make unintended matches then.

Hundter avatar Jan 20 '24 13:01 Hundter

subdomain1.ncore.sh subdomain2.ncore.sh ... subdomain1.ncore.pro subdomain2.ncore.pro ... Can it be managed, or would I have issues with these? I would be more relaxed to set "ncore." in my filtering criterion to match the tracker site as I'm pretty sure this sub-string wouldn't match other trackers.

cybericius avatar Jan 31 '24 19:01 cybericius