[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: funny thing about "docs.info.apple.com"
- Subject: Re: funny thing about "docs.info.apple.com"
- From: bieling@terra.es (Jorge Chamorro Bieling)
- Date: Wed, 14 Dec 2005 19:13:17 +0100
- Newsgroups: comp.sys.apple2
- Organization: ya.com internet factory
- References: <1h7kgni.dhmjl3tuf2geN%bieling@terra.es> <2oh0q1po90jk30uvg1qqcceghcssu4pa4r@4ax.com>
- User-agent: MacSOUP/2.7 (unregistered)
- Xref: g2news1.google.com comp.sys.apple2:7500
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