Add another StoryDoesNotExist string for adapter_fanfictionnet

This commit is contained in:
Jim Miller 2019-04-02 11:43:46 -05:00
parent 28bf3a35b8
commit 3975a37302

View file

@ -110,7 +110,7 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
else:
raise e
if "Unable to locate story" in data:
if "Unable to locate story" in data or "Story Not Found" in data:
raise exceptions.StoryDoesNotExist(url)
# some times "Chapter not found...", sometimes "Chapter text