Do you have a json api url that would be easier on the servers? With maybe a faster refresh?
http://www.unitedminers.com/?action=apiIf you need more info then provided let me know. I just added valid shares to that JSON by request and I can add more if need be.
c00w:
I modified the config to use his json api, but I found a small issue in your parsing code
if server['api_method'] == 'json':
info = json.loads(response)
for value in server['api_key'].split(','):
info = info[value]
if 'api_strip' in server:
strip_str = server['api_strip'][1:-1]
info = info.replace(strip_str,'')
round_shares = int(info)
self.UpdateShares(args,round_shares)
I modified it to look for api_strip, and remove the offending character. In this case, he has a ',' in the result.
Edit: nevermind, I added it as an issue on github