Extracting torrents statistics

General support for problems installing or using Deluge
Post Reply
Romano2K
New User
New User
Posts: 6
Joined: Wed Nov 23, 2016 3:51 pm

Extracting torrents statistics

Post by Romano2K »

Hi there!

Before removing a bunch of torrents from my Deluge daemon, I'd like to save some of their statistics.

So I'm looking for a way to export, as a CSV file for instance, names, ratios, downloaded and uploaded amount, date added, etc., for all my torrents.

I've had a look at my torrents.state file but couldn't figure a way to do this, as I'm no expert in text manipulations (Regexp and so on.).

Any suggestion? :)

Here is an example of a torrents.state file with 2 torrents added a few minutes before:

Code: Select all

(ideluge.core.torrentmanager
TorrentManagerState
p1
(dp2
S'torrents'
p3
(lp4
(ideluge.core.torrentmanager
TorrentState
p5
(dp6
S'max_download_speed'
p7
I-1
sS'move_completed_path'
p8
V/home/romano2k/Downloads
p9
sS'paused'
p10
I00
sS'max_upload_slots'
p11
I-1
sS'prioritize_first_last'
p12
I00
sS'max_connections'
p13
I-1
sS'compact'
p14
I00
sS'queue'
p15
I-1
sS'file_priorities'
p16
(lp17
I4
asS'filename'
p18
S'/tmp/tmpU6fklE'
p19
sS'max_upload_speed'
p20
I-1
sS'save_path'
p21
V/home/romano2k/Downloads
p22
sS'time_added'
p23
F1479913910.567724
sS'total_uploaded'
p24
I18964122
sS'torrent_id'
p25
S'8df9e68813c4232db0506c897ae4c210daa98250'
p26
sS'auto_managed'
p27
I01
sS'stop_at_ratio'
p28
I00
sS'move_completed'
p29
I00
sS'trackers'
p30
(lp31
(dp32
S'send_stats'
p33
I01
sS'fails'
p34
I0
sS'verified'
p35
I00
sS'url'
p36
S'http://torrents.linuxmint.com/announce.php'
p37
sS'fail_limit'
p38
I0
sS'complete_sent'
p39
I00
sS'source'
p40
I1
sS'start_sent'
p41
I00
sS'tier'
p42
I0
sS'updating'
p43
I00
sasS'magnet'
p44
NsS'remove_at_ratio'
p45
I00
sS'stop_ratio'
p46
F2
sS'is_finished'
p47
I01
sba(ideluge.core.torrentmanager
TorrentState
p48
(dp49
g7
I-1
sg8
g9
sg10
I00
sg11
I-1
sg12
I00
sg13
I-1
sg14
I00
sg15
I-1
sg16
(lp50
I4
asg18
S'/tmp/tmp3xjz6d'
p51
sg20
I-1
sg21
g22
sg23
F1479913754.413933
sg24
I4795602
sg25
S'0403fb4728bd788fbcb67e87d6feb241ef38c75a'
p52
sg27
I01
sg28
I00
sg29
I00
sg30
(lp53
(dp54
S'send_stats'
p55
I01
sS'fails'
p56
I0
sS'verified'
p57
I00
sS'url'
p58
S'http://torrent.ubuntu.com:6969/announce'
p59
sS'fail_limit'
p60
I0
sS'complete_sent'
p61
I00
sS'source'
p62
I1
sS'start_sent'
p63
I00
sS'tier'
p64
I0
sS'updating'
p65
I00
sa(dp66
S'send_stats'
p67
I01
sS'fails'
p68
I0
sS'verified'
p69
I00
sS'url'
p70
S'http://ipv6.torrent.ubuntu.com:6969/announce'
p71
sS'fail_limit'
p72
I0
sS'complete_sent'
p73
I00
sS'source'
p74
I1
sS'start_sent'
p75
I00
sS'tier'
p76
I1
sS'updating'
p77
I00
sasg44
Nsg45
I00
sg46
F2
sg47
I01
sbasb.
DoYouWantKarate
New User
New User
Posts: 2
Joined: Wed May 08, 2013 1:04 am

Re: Extracting torrents statistics

Post by DoYouWantKarate »

I, too am very interested in this.
Post Reply