Match against files in torrent?

2 views
Skip to first unread message

Cokelid

unread,
Mar 15, 2009, 2:18:50 PM3/15/09
to rssdler
I've got rssdler downloading torrents just fine, but recently I'm
grabbing lots of "fake" torrents masquerading as a trusted uploader.
The "fake" torrents contain RAR files rather than AVIs (and then try
to get you to buy a password to decrypt the rar file).

Is there any way to match against the files contained in the torrent
so that I could ignore any torrents containing RAR files? It seems to
me I should be able to use postDownloadFunction or similar but I can't
work out how?

Many thanks,

Justin

lostnihilist

unread,
Mar 17, 2009, 1:15:35 PM3/17/09
to rss...@googlegroups.com, Cokelid
this would be possible with a postDownloadFunction. You would use rssdler's
bdecode function to read the torrent, and the iterate through the info
dictionary to find files ending with .rar and similar rar extensions. I am
trying to find the time to refactor rssdler to be more amenable to changes
like these. But right now, it is not easy to do within the current code base,
and I don't have the time.

James Sams
773-315-0810
sams....@gmail.com
> --
lostnihilist
Reply all
Reply to author
Forward
0 new messages