mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-15 12:42:31 +01:00
OTW/AO3 - change to 'need to login' text, accept both old and new and another string. #1229
This commit is contained in:
parent
e2ea97e99a
commit
a97af94f8a
1 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,8 @@ class BaseOTWAdapter(BaseSiteAdapter):
|
|||
def needToLoginCheck(self, data):
|
||||
if 'This work is only available to registered users of the Archive.' in data \
|
||||
or "The password or user name you entered doesn't match our records" in data \
|
||||
or "Sorry, you don't have permission to access the page you were trying to reach. Please log in." in data:
|
||||
or "have permission to access the page you were trying to reach. Please log in." in data \
|
||||
or '<h4 class="heading">With an AO3 account, you can:</h4>' in data:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in a new issue