Ficwad seems to have made a change to their main page since the adapter was created... [CLI]

7 views
Skip to first unread message

Gwydion Comyn

unread,
Jun 10, 2016, 3:58:37 AM6/10/16
to FanFicFare -- Downloader for FanFiction
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

Jim Miller

unread,
Jun 10, 2016, 10:55:31 AM6/10/16
to fanfic-d...@googlegroups.com

Okay. That fix will be in the next test version. Thanks for pointing
it out.

Jim
Reply all
Reply to author
Forward
0 new messages