PDA

View Full Version : How do you access a web page's source with a script?


alalusim
June 7th, 2007, 09:39 PM
Does anybody know of a way to access a web page's source and save it to a text file for manipulation by other scripts?

Keep in mind that I am relatively new to shell scripts.

Thanks in advance.

duff
June 7th, 2007, 10:30 PM
# wget http://slashdot.org -O -
# links -source http://slashdot.org

alalusim
June 8th, 2007, 06:38 PM
thanks a lot