[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: funny thing about "docs.info.apple.com"



I did a spreadsheet with a column that wrote for me the links:

<a href="http://docs.info.apple.com/article.html?artnum=1";
 target="_blank">1</a>

from 1 to 10000, pasted them in the body of a local .html file, then
gave it to sitesucker. It's doing its job right now... :-)

Thanks,
Jorge.

Gene Linkoski <nevermind@nevermind.com> wrote:

> Not sure if there is a real easy way to automate downloading all of
> them on the Apple II. You may be able to write a Spectrum script to
> download them somehow, but I haven't explored Spectrum's scripting
> abilities.
> 
> I wrote this quick BASH script under Linux. Change 9999 to the last
> document you want to download. The documents may have some formatting
> errors, but most should be readable. This will create files 9999 text
> files, named #.txt in the current directory 
> 
> i=1
> while [ $i -le 9999 ]
> do
> lynx -center -dump http://docs.info.apple.com/article.html?artnum=$i
> >$i.txt
> sleep 2
> let i=i+1
> done
> 
>  ^*^ Gene ^*^
> 
> 
> On Wed, 14 Dec 2005 15:46:21 +0100, bieling@terra.es (Jorge Chamorro
> Bieling) wrote:
> 
> >Try changing the artnum and you'll get funny old documents that you can
> >not find with the search engine...
> >
> >for example:
> >
> >http://docs.info.apple.com/article.html?artnum=3
> >
> 
> >IS THERE A (EASY) WAY TO DOWNLOAD ALL OF THEM ?
> >
> >Jorge