The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

Re: [OT] Grabbing the lottery results



On Tuesday 07 October 2003 21:30, Doogie Brodie wrote:
> Ant wrote:
> > do wget $@ http://www.national-lottery.co.uk/player/files/$file.csv;
do=
ne
>
> Ant, you da man!
>
> I don't f'ing believe it..... I looked for something like that, but
> couldn't find any info about it on the site, so had to write a screen
> scrape :S
>
> Live and learn!

Heheh ;)=20

>From a shell prompt you can just do:

wget=20
http://www.national-lottery.co.uk/player/files/{Lotto,Extra,Thunderball,Hot=
Picks,DailyPlay}.csv

(all one line, it'll prolly get wrapped)

ant
--=20
/\/\
www.ant.org  ('')  www.ant.org
()
Megawatt Winged Avenger



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.