In trying to a ruby program that remove finished torrents in utorrent
221.

Im trying to open this website:
http://username:password@localhost:port/gui/?list=1

when its loaded it will look something like this

{"build":25113,"label": [
["labeltest",1]
]
,"torrents": [

["EAB8F6C6988D15C42F8BAC4EC0BA633C4BEAD124",201,"Against.the.Wall.S01E01.Pilot.HDTV.XviD-FQM.avi",367435864,1000,367435864,1286266968,3500,83547,72,0,"labeltest",5,58,0,151,112187,-1,0],
["FD13A56AEBB17C755720D5882BF5E60CAA606B0B",201,"Against.the.Wall.S01E02.Raindrops.Keep.Fallin.on.My.Head.HDTV.XviD-FQM.avi",367472304,1000,0,788265664,2145,147421,153,0,"",5,54,0,170,188941,-1,0],
["1DB1C7DC398BEEEBEC3949C3888A245D6898763E",201,"Against.the.Wall.S01E03.We.Have.a.Cop.in.Trouble.Here.HDTV.XviD-FQM.avi",367492920,1000,0,839827056,2285,152734,188,0,"",10,62,0,199,325062,-1,0],
["8F3144E77DF362DCE79ECE02ECDD53B28606C9DD",201,"Against.the.Wall.S01E04.HDTV.XviD-ASAP.avi",366978928,1000,0,654069472,1782,4822,3,0,"",5,50,0,132,258586,-1,0],
["77D9CE680AA9CAA8D025064A7D305D2460376612",201,"Against.the.Wall.S01E06.HDTV.XviD-ASAP.avi",366923896,1000,366923896,755748984,2059,12682,35,0,"",6,59,0,195,130791,-1,0],
["A4064DAB47B3F7F832B1D61883DA2DDC22CEA334",201,"[ www.TorrentDay.com ]
-
Haven.S02E06.Audrey.Parkers.Day.Off.PROPER.HDTV.XviD-FQM",373242709,1000,373455701,327318357,876,0,0,-1,"",0,8,0,2,65536,-1,0],
["9B100D50F29CBE6BF1FE62392C89CF8075BECC10",201,"{ www.SceneTime.com } -
Chuck.S04E11.REPACK.HDTV.XviD-2HD",366891983,0,0,0,0,0,0,-1,"",0,15,0,0,0,2,366891983],
["EBD2633FCAFCA63BEA58E235417A72B26F6B09D1",201,"{ www.SceneTime.com }
-Haven.S02E10.Who.What.Where.Wendigo.PROPER.HDTV.XviD-FQM",374242193,0,0,0,0,0,0,-1,"",0,6,0,0,0,1,374242193]]
,"torrentc": "2074674286"
,"rssfeeds": []
,"rssfilters": []
}

If the the strings have a value >= 1000 and isnt labeled it should send
thiscommand:

http://username:password@localhost:port/gui/?action=remove&hash='namethatmachtedthesearch.

Any that can help me out? Im sure i can figure out the last parts, but i
have tryed for hours on access to the site.

And yes i am a noob :P

-- 
Posted via http://www.ruby-forum.com/.