Little Cat Z is conceptually very simple. It downloads the Category page and parses it for links. Each link is then filtered to dispose of search engine requests, a manual connection is established to the server and the page is requested. If the server is unreachable, the link is printed in red followed by the status code and error message. If the server is reachable, the page is requested and the status code is printed. In the case of a 3xx or 4xx error message lcz re-requests the page with an 'fopen' command. If the page is still unloadable, the link is printed in red followed by the status code. If the page loads properly, the link is printed in green with the status code and an (erroneous) message. |