Well, think about it. What steps are necessary to accomplish this?
1) Download the pages and store them temporarily (in files or variables).
2) Extract the strings you need from the text and store them in variables.
3) Print them out in the format you want.
4) Clean up, as necessary.
Figure out how to do each of these steps, and you'll have your solution. So just where are you having problems?
|