CS 268 - Assignment 1: Web Link Tester - Submission Input


The file of URLs to test and to submit results with are located here.

To submit your assignment, you will need to show a run of your web link tester using the the script command. For example, suppose a have an input file that has some URLs in it. You should first use script to start capturing your session and then invoke your program on the file. If you do not know how to use script, examine its man page.


$ script
Script started, file is typescript
$ weblinktest urls.txt
http://www.csee.wvu.edu/~tmont/index.html       Retrieved Fine, 5537 bytes
http://daffy.csee.wvu.edu/                      Host unknown
http://naur.csee.wvu.edu:30590/                 Connection refused
http://www.csee.wvu.edu/Robots.txt              Not Found
Done with web link testing.
$ exit
Script done, file is typescript
You will be submitting the output of the script as well as your code when you submit the assignment.

Extra Credit

For the extra credit, you will need to do some more work. For the redirected links, there are already some in the URL file to use. For the HTML parsing, use this URL, http://www.csee.wvu.edu/faculty/index.html
Todd L. Montgomery (revised 93.19.2000)