Fix for adapter_ashwindersycophanthexcom login.

This commit is contained in:
Jim Miller 2016-05-19 09:13:18 -05:00
parent a593bd201c
commit 6f7e700cd2

View file

@ -77,7 +77,8 @@ class AshwinderSycophantHexComAdapter(BaseSiteAdapter):
## Login seems to be reasonably standard across eFiction sites.
def needToLoginCheck(self, data):
if 'This story contains adult content and/or themes.' in data \
or "That password doesn't match the one in our database" in data:
or "That password doesn't match the one in our database" in data \
or "Member Login" in data:
return True
else:
return False