How to wget like the weather/wind summary forecast ?
Hello,
I would like to get this from the website : http://www.windfinder.com/forecast/aachen just the part of the forecast, and not the publicity, ... and non useful text. Is that possible ? wget gives a non formatted view and with all of stuffs non useful the print version has no cubes:wget http://www.windfinder.com/wind-cgi/f...TIONSNR=aachen thanks |
You should be able to use Wget.
Wget will dump the HTML code into the STDOUT, so write the output of wget into a file. Then use Perl or PHP to parse through the HTML code, dump any useless stuff and store the required information in variables. Then you can process the useful information as you want. This is actually a bigger project than the 2 lines above ;) |
Quote:
Code:
wget -k http://www.windfinder.com/forecast/aachen that s cool that we have lot of options with wget it can suits all. like bit mplayer, it even handles several layers. |
Hi.
See also http://www.linuxquestions.org/questi...nx#post2467171 for a solution with lynx & sed, producing straight text (not marked-up text) ... cheers, makyo |
This is a cool idea...I love tools like lynx. For while I had use a super old laptop as a work machine, and I actually used lynx and elinks2 as my main browser! It worked fairly well, actually. Once you get used to the keyboard shortcuts, it's awesome how fast you can browse.
|
Quote:
Enjoy Dude (to me)!! |
All times are GMT -5. The time now is 06:28 AM. |