From 0e7ef6d8048d0011f07a413de34b089373b5e98a Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 14 Jun 2011 15:15:56 -0500 Subject: [PATCH] Different Age Consent text in tenhawkpresents.com --- fanficdownloader/adapters/adapter_tenhawkpresentscom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficdownloader/adapters/adapter_tenhawkpresentscom.py b/fanficdownloader/adapters/adapter_tenhawkpresentscom.py index 9251798..6ec8a24 100644 --- a/fanficdownloader/adapters/adapter_tenhawkpresentscom.py +++ b/fanficdownloader/adapters/adapter_tenhawkpresentscom.py @@ -120,7 +120,7 @@ class TenhawkPresentsComSiteAdapter(BaseSiteAdapter): self.performLogin(url) data = self._fetchUrl(url) - if "Age Consent Required" in data: + if "This story contains mature content which may include violence, sexual situations, and coarse language" in data: raise exceptions.AdultCheckRequired(self.url) if "Access denied. This story has not been validated by the adminstrators of this site." in data: