When using the CLI, if a stories no longer exists on Ficwad, it defauts to the main page (
ficwad.com)...
When the adapter was created, it seems that there was a header with the following words:
[96] if "<h2>Welcome to FicWad</h2>" in data:
which is no longer the case, so missing stories break the code...
if that line is changed to the following:
[96] if "<h4>Featured Story</h4>" in data:
this fixes that problem.
Unless anyone can think of a better way to check for it... like testing the location of the fetchURL or something *shrug*.
GComyn