Le produit open source TestPlan est très bon dans de telles choses. En utilisant un langage simple, vous pouvez vous connecter au site avec un utilisateur, récupérer les noms des sous-comptes, puis vous connecter comme l'autre utilisateur pour vous abonner aux groupes.
Par exemple, si vous vouliez simplement les titres des premières entrées, vous pouvez utiliser ce code:
GotoURL http://www.reddit.com/top/
set %Topics% as response //p[@class='title']
foreach %Topic% in %Topics%
set %Title% as selectIn %Topic% string(.)
Notice %Title%
end
qui produit une sortie comme ceci:
00000000-00 GOTOURL http://www.reddit.com/top/
00000001-00 NOTICE LEGAL DVD vs. PIRATED COPY (i.imgur.com)
00000002-00 NOTICE Don't just shorten your URL, make it suspicious and frightening. - ShadyURL (shadyurl.com)
00000003-00 NOTICE HOLY CRAP! IS THAT A ROOM FOR RENT ON MY CRAIGSLIST??!?!? (houston.craigslist.org)
00000004-00 NOTICE Years from now when our children ask us, "What did we do after 9/11?" we shall explain it to them using this... (4gifs.com)
00000005-00 NOTICE TSA forces disabled boy to remove leg braces and walk through the metal detector. "I told him, 'This is overkill. He's 4 years old. I don't think he's a terrorist.' " (philly.com)
00000006-00 NOTICE This picture scares the shit out of me. (imgur.com)
00000007-00 NOTICE Civilization V Announced, in Development at Firaxis Games (hellforge.gameriot.com)
00000008-00 NOTICE I don't know, the price seems a little steep... [pic] (i.imgur.com)
00000009-00 NOTICE Reddit, last week we saw the depth of the ocean scaled relative to human size. I made a figure of the depth of the ocean accurately scaled to the width. It's really very shallow from this perspective. (i.imgur.com)