Windows Vista Forums

VBScript to spider a website and list external links
  1. #1


    Keith Guest

    VBScript to spider a website and list external links

    Hello,
    I need to list all external links on a website of ours. Are there any
    snippets of VBScript that can help with this? Just something simple that
    will spider the website and drop the links it finds into a txt file. Along
    these same lines, what is the vbscript used for spidering a domain name? Any
    help would be greatly appreciated.



    Thanks.

      My System SpecsSystem Spec

  2. #2


    Paul Randall Guest

    Re: VBScript to spider a website and list external links


    "Keith" <Keith@xxxxxx> wrote in message
    news:CD955493-9C1A-4E35-8A9B-9B17D9E7B17C@xxxxxx

    > Hello,
    > I need to list all external links on a website of ours. Are there any
    > snippets of VBScript that can help with this? Just something simple that
    > will spider the website and drop the links it finds into a txt file.
    > Along
    > these same lines, what is the vbscript used for spidering a domain name?
    > Any
    > help would be greatly appreciated.
    >
    > Thanks.
    I don't know of any such code snippet.
    Maybe this will help you to design your own spider.
    If you wanted to get a list of all files in a folder and all of its
    subfolders, you could use the filesystem object and its folder.files and
    folder.subfolders collections to recursively dig your way down through an
    initial folder and all its subfolders.

    You can use the internetexplorer.application object and its links and images
    collections in a manner similar manner to recursively dig your way through
    an initial web page and all URLs linked on this initial and subsequent web
    pages.

    http://msdn.microsoft.com/en-us/library/ms533050.aspx will help you
    understand the IE application object model.

    Use google.groups.com, specifying the group
    microsoft.public.scripting.vbscript, to search for IE related code snippets.

    -Paul Randall



      My System SpecsSystem Spec

VBScript to spider a website and list external links problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
vbscript to fill out a website form kidkosmo VB Script 5 03 Feb 2010
External website and Exchange server JudAster SBS Server 4 08 Jan 2010
Website email links not working Dovie Vista mail 4 14 Jun 2009
Website email links doesn't work Dovie .NET General 1 14 Jun 2009
Links to Website don't work Dotty Vista mail 5 29 Jul 2008