mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-04-30 19:01:00 +02:00
Fix for storiesonlinenet Daily Limit msg change, from GComyn.
This commit is contained in:
parent
ab1d3bb70c
commit
82ca30f9eb
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
|||
raise exceptions.AccessDenied(self.getSiteDomain() +" says: Access denied. This story has not been validated by the adminstrators of this site.")
|
||||
elif "Error! The story you're trying to access is being filtered by your choice of contents filtering." in data:
|
||||
raise exceptions.FailedToDownload(self.getSiteDomain() +" says: Error! The story you're trying to access is being filtered by your choice of contents filtering.")
|
||||
elif "Error! Daily Limit Reached" in data:
|
||||
elif "Error! Daily Limit Reached" in data or "Sorry! You have reached your daily limit of" in data:
|
||||
raise exceptions.FailedToDownload(self.getSiteDomain() +" says: Error! Daily Limit Reached")
|
||||
|
||||
# use BeautifulSoup HTML parser to make everything easier to find.
|
||||
|
|
|
|||
Loading…
Reference in a new issue