stefantalpalaru / deluge-default-trackers

Deluge plugin for adding default trackers to all the new torrents
GNU General Public License v3.0
141 stars 23 forks source link

Add dynamic Trackerlist Support #17

Closed dasimmet closed 6 years ago

dasimmet commented 6 years ago

I probably did this in a very horrible way, but it works for me ;-)

Added a Way to fetch a text based Trackerlist via http and add it to new torrents. I stored the URL to the list in "dynamic_trackerlist", the fetched trackers in "dynamic_trackers". I update and join it to "trackers" every time a new torrent is added.

Probably it would be better to check the age of the fetched trackerlist so it is not downloaded for every torrent upon restart.

stefantalpalaru commented 6 years ago

Thank you. I extended the functionality a bit.