Results 1 to 4 of 4

Thread: Internet Explorer used to have this feature...

  1. #1
    the admiral formerly known as overclocked OC's Avatar
    Join Date
    Aug 2000
    Location
    Julian, NC
    Posts
    5,923

    Question Internet Explorer used to have this feature...

    ... where you could create a list of links on a web page and export them to a file. I have a huge project I'm working on and I *MUST* be able to do that, or come up with some alternative.

    Here's a description of the project:

    I have a list of about 30 web pages. Each of those pages has 100+ links that I need to have in a list. All of these links begin the same way - http://this.is.the.link/XXXXX.htm, where XXXXX is a number.

    Any scripts I could use, or apps that you know of that could do what I need? Understand that I simply do *not* have a head for scripting, so anything like that will have to be explained very clearly.

    Does Mozilla or Opera have this function? I'm at work and can't check...

    tia

    -OC

  2. #2
    Commander Paymaster's Avatar
    Join Date
    Jul 2000
    Location
    Middle Earth
    Posts
    1,367
    This is extremely non-elegant, but will do the trick if you are not a scripter. (If you were, I would point you to the perl HTTP "get" function. Very slick.)

    1) Install PERL.
    http://www.activestate.com/Products/ActivePerl/

    2) Save the web page to a file. (web_page.txt)

    3) Execute this command on that file. Redirect it to an output file if required.

    Code:
    perl -ne 'print "$1\n" while (s/(http:\/\/this\.is\.the\.link\/\d+\.htm)//i);' web_page.txt
    Let me know how it goes.
    "eh, take your opinion and shove it... somewhere else other than this thread" ~ welfareloser

  3. #3
    Rear Admiral Upper Half Joshua's Avatar
    Join Date
    Jan 2001
    Location
    Long Island, NY
    Posts
    3,390
    I assume that adding them to your favorites and exporting them is not an option?
    The Apexer formerly known as SnotRocket.

    "Like I ****ing said, "Ok, so I hear it may be a repost. Blah But I had never seen it, so..." **** you Canta." -Jenny 12/4/2003

  4. #4
    the admiral formerly known as overclocked OC's Avatar
    Join Date
    Aug 2000
    Location
    Julian, NC
    Posts
    5,923
    Originally posted by SnotRocket
    I assume that adding them to your favorites and exporting them is not an option?
    No. We're talking over 1500 links, and I need to save each of those web pages to my computer. I have an app that can do that part, I just need to get the big link list created so I can import it.

    -OC

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •