The average game should be around 15 light-weight pages if you use &view=print&ppp=200, of which only the last three pages are probably relevant for a vcIn post 14, MathBlade wrote:Omg so much this.In post 9, yessiree wrote:the main issue with trying to automate anything on mafiascum is the lack of an API. (it's in development?) It's FeelsBadMan to work with <document> response types, which means an addition layer of reading/parsing XML/HTML content which makes the whole process more time-consuming and error prone
It would be much much better if you could do something like query "[b]API[/b]/viewtopic.php?f=5&t=78755" and get back JSON instead
Like that’s the reason my VoteCount scrubber is slower than I would like.
Getting all that html and crunching it for hundreds of pages is a pita.
A twenty-line artoo.js game scraper: https://bitbucket.org/bopjesvla/thesis/ ... ew-default