mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-09 11:14:08 +08:00
Add check for non-existance/removed story to potterfics.com.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user