rtorrent-ps icon indicating copy to clipboard operation
rtorrent-ps copied to clipboard

Tracker aliases - allow wildcard/endswith

Open xsmile opened this issue 8 years ago • 6 comments

Wildcards for the recently introduced trackers aliases (a560233217a0d1eef6919dee36455680dd60dcbf) would be useful if a tracker uses multiple subdomains.

xsmile avatar Mar 12 '17 14:03 xsmile

The mentioned match method is good for this.

chros73 avatar Mar 15 '17 18:03 chros73

No, since this is based on a map<>.

pyroscope avatar Mar 15 '17 20:03 pyroscope

Oh, sorry, my bad, I haven't looked at the code.

chros73 avatar Mar 16 '17 12:03 chros73

Implementation must loop over tokenized domain string, removing (at least one) subdomain(s), and try a lookup with the reduced name.

pyroscope avatar Apr 21 '18 11:04 pyroscope

Wouldn't it better if d.tracker_domain command would return back the alias as well if there's any? Then this command could be used to display it on the UI. If not then maybe a new command could be used e.g. d.tracker_domain.alias for this.

chros73 avatar Apr 22 '18 07:04 chros73

"alias" is not a rt-ps concept.

pyroscope avatar Apr 22 '18 07:04 pyroscope