mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 19:11:50 +02:00
Add another StoryDoesNotExist string for adapter_fanfictionnet
This commit is contained in:
parent
28bf3a35b8
commit
3975a37302
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue