Hi,
I want to write a python script that could show peers information such as country, id, ip when deluge is downloading. I find the module named deluge.core.torrent which has the function get_peers that can achieve it. But there are many parameters for the deluge.core.torrent, I don't have any idea of how to implement that?
Could anyone give me some information about how to use deluge.core.torrent?
Zack
Python script to get Peers information when downloading
-
- New User
- Posts: 7
- Joined: Fri Dec 31, 2010 5:47 pm
Re: Python script to get Peers information when downloading
have you looked at peers_tab.py? that displays those values in the gtk ui.
-
- New User
- Posts: 7
- Joined: Fri Dec 31, 2010 5:47 pm
Re: Python script to get Peers information when downloading
Hi Cas,
Thank you for your reply. I got it to work using client.core.get_torrent_status.
Zack
Thank you for your reply. I got it to work using client.core.get_torrent_status.
Zack