Web Scraper and Web Macros FAQs

Page History: Wiki Links Sample Macro

Compare Page Revisions

« Older Revision - Back to Page History - Current Revision

Page Revision: 2008/05/02 17:39

DECLARE @i // Start at the 13th link SET @i 13 GO http://en.wikipedia.org/wiki/Special:WhatLinksHere/ASDF // The following line checks if the link at index @i exists on the page. The first link on the page would be a;0 Label Next IF a;@i BEGIN //The following line clicks the link at index @i CLICK a;@i JUMP Continue END Jump End Label Continue INCREMENT @i

// The following line saves the current page to hard disk SAVE c:\scrape\test_#CURRENTTIMESTAMP.htm

// The following line goes back to the page with the links GO Javascript:history.go(-1) Jump Next

Label End
Create a Page | Administration | File Management | Login/Logout | Language Selection | Your Profile |Create Account