mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-21 16:23:58 +01:00
Add check for non-existance/removed story to potterfics.com.
This commit is contained in:
parent
2943de51e0
commit
51ea8f18a7
1 changed files with 4 additions and 1 deletions
|
|
@ -155,7 +155,10 @@ class PotterFicsComAdapter(BaseSiteAdapter):
|
|||
else:
|
||||
raise e
|
||||
|
||||
#print data
|
||||
if "Esta historia no existe. Probablemente ha sido eliminada." in data:
|
||||
raise exceptions.StoryDoesNotExist(self.url)
|
||||
|
||||
print data
|
||||
|
||||
#deal with adult content login
|
||||
if self.needToLoginCheck(data):
|
||||
|
|
|
|||
Loading…
Reference in a new issue