Parsing the WebUI for torrent info

Windows specific questions, problems.
Post Reply
Bishop149

Parsing the WebUI for torrent info

Post by Bishop149 »

I'm wondering if I can get a rainmeter skin working to display qbittorrent info.
To do so I will need to be able to access torrent information in a format compatible to be read by rainmeters WebParser plugin.

Basically the WebUI needs to output the torrent info in HTTP or XML format, the source code for the regular WebUI just gives a bunch of internal program that can't be parsed for the info required 

Apparently uTorrent does this with the following link
http://#UserName#:#Password#@127.0.0.1:#uTorrentPort#/gui/?list=1
The "list=1" being the important parameter

Is qbittorrent able to do anything similar?
I somewhat doubt it as all my searches have yielded a big fat 0 but thought I'd ask anyway.
KitKat

Re: Parsing the WebUI for torrent info

Post by KitKat »

[quote="Bishop149"]
Basically the WebUI needs to output the torrent info in HTTP or XML format, the source code for the regular WebUI just gives a bunch of internal program that can't be parsed for the info required 
[/quote]
The format qbitorrents webui API replies in is JSON.
You'd need to add an extra step somewhere to convert json to xml unless rainmeters parser also supports that.
Post Reply