Code to get seeders count?

Suggestions and discussion of future versions
Post Reply
raptorhunter

Code to get seeders count?

Post 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.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Code to get seeders count?

Post 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.
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Code to get seeders count?

Post by gazpachoking »

This can't be done with FlexGet (yet) but you could implement the feature request.
raptorhunter

Re: Code to get seeders count?

Post 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.
Post Reply