You can do this very easily with SWExplorerAutomation SWEA
(http://webunittesting.com)
I have just wrote the simple script which iterates over the group
threads using SWEA:
SWExplorerAutomation.Client.ExplorerManager explorerManager = new
SWExplorerAutomation.Client.ExplorerManager();
SWExplorerAutomation.Client.Scene scene;
explorerManager.Connect();
explorerManager.LoadProject("GroupScrapping.htp");
explorerManager.Navigate("http://groups.google.com/group/swexplorerautomation");
scene = explorerManager["Scene_0"];
scene.WaitForActive(30000);
System.Data.DataTable dataTable;
dataTable =
scene.HtmlContent("HtmlContent_0"]).TableDataExtractor.DataTable;
foreach (DataRow row in dataTable.Rows)
{
explorerManager.Navigate(row[0].ToString());
scene = explorerManager["Scene_1"];
scene.WaitForActive(30000);
Console.Write(scene.HtmlContent("msgs").OuterXml);
scene.Deactivate();
}
explorerManager.DisconnectAndClose();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---