mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-08 00:53:05 +01:00
Tweak 'Chapter not found...' check for ffnet for changed/new text.
This commit is contained in:
parent
72f6a858f6
commit
f6dcac829c
1 changed files with 3 additions and 2 deletions
|
|
@ -109,8 +109,9 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
|
|||
if "Unable to locate story" in data:
|
||||
raise exceptions.StoryDoesNotExist(url)
|
||||
|
||||
# some times "Chapter not found...", sometimes "Chapter text not found..."
|
||||
if "not found. Please check to see you are not using an outdated url." in data:
|
||||
# some times "Chapter not found...", sometimes "Chapter text
|
||||
# not found..." or "Story does not have any chapters"
|
||||
if "Please check to see you are not using an outdated url." in data:
|
||||
raise exceptions.FailedToDownload("Error downloading Chapter: %s! 'Chapter not found. Please check to see you are not using an outdated url.'" % url)
|
||||
|
||||
if self.getConfig('check_next_chapter'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue