I know very very little about LUA, so was not able to find a way to do it. No sleep or wait function exists that I could make work or find in googling. Looks like you might need some sort of coroutine that would check if a certain amount of time has passed before looking for the next team. Hopefully the problem goes away, or a solution is presented.
Wait, when did you get that data? I've been trying to datamine US-Ruin for several days, but with the mentioned problems in the last few posts of me. Did you check if all the data is there respectively if several people/teams are missing? How fast did it run?
Ran it after reading your post for top 200 2v2 teams on Reckoning. Got 15 players after 4 min. Not working for me.
EDIT: Something is wrong with armory in multiple ways. Most people that I armory are awaiting refresh, along with the old problem of too many requests.
Other people saw it as well
For some reason I am getting a lot of errors during the armory parsing (http requests not returning the xml content, this seems to be load-based), this has forced me to put in a number of code delays, both between requests and between re-tries after any errors. If these values are too low I am seeing a 50% failure rate, so I have had to be quite generous (over 5 secs after each failed request) in order to guarantee I get the data.
As this is happening for roughly 10% of the 123k teams (on top of the 60ms delay I have added to all requests), that is adding up to a much longer scan time. As I type this I only have about 35,000 teams done (approx 28% of the EU armory), which equates to 150,00 players.
So... it may be a few days before I finish the scan. Once I finish the scan I will be able to re-run the stats. http://vhairi.blogspot.com/
I think they finally and purposely made it impossible to datamine the Armory for players talents and ratings... whenever I try to using Tattle's dataminer.lua, all Armory arena team pages suddenly change to the "Armory is busy, please try again later" screen. It's reproducable and pretty obvious. Sucks, I really liked Tattle. :(