Page 1 of 1

Code to get seeders count?

Posted: Tue Nov 16, 2010 6:04 am
by raptorhunter
Hi Devs,

I wrote a short python scripts to scan rss feeds for new torrents and then download them if they match the shows you want. I want to extend this, by having my script query the tracker for the number of seeders and only download the .torrent if the number of seeders exceeds a certain level. Is their some quick python code I can import into my script that will do this? I know it must exist somewhere within the deluge source code. :D

Thanks in advance.

Re: Code to get seeders count?

Posted: Tue Nov 16, 2010 11:16 am
by Cas
I do not think that deluge checks seeds from external sites. It is possible that flexget had code for this, maybe gazpachoking can answer this.

Re: Code to get seeders count?

Posted: Tue Nov 16, 2010 7:12 pm
by gazpachoking
This can't be done with FlexGet (yet) but you could implement the feature request.

Re: Code to get seeders count?

Posted: Tue Nov 16, 2010 9:13 pm
by raptorhunter
I just wrote my script to wait a few hours after the torrent is released before downloading it. It seems to work well.