From be4e3610d5d11a8dec049412e5ad2b584bd25dae Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 10 Feb 2016 13:03:43 -0600 Subject: [PATCH] Remove TtH authsoup debug dump. --- fanficfare/adapters/adapter_tthfanficorg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fanficfare/adapters/adapter_tthfanficorg.py b/fanficfare/adapters/adapter_tthfanficorg.py index 75051178..feff558b 100644 --- a/fanficfare/adapters/adapter_tthfanficorg.py +++ b/fanficfare/adapters/adapter_tthfanficorg.py @@ -173,7 +173,7 @@ class TwistingTheHellmouthSiteAdapter(BaseSiteAdapter): authorsoup = self.make_soup(authordata) # author can have several pages, scan until we find it. # find('a', href=re.compile(r"^/Story-"+self.story.getMetadata('storyId')+'/')) ): - logger.info("authsoup:%s"%authorsoup) + #logger.info("authsoup:%s"%authorsoup) while( not authorsoup.find('div', {'id':'st'+self.story.getMetadata('storyId'), 'class':re.compile(r"storylistitem")}) ): nextarrow = authorsoup.find('a', {'class':'arrowf'}) if not nextarrow: @@ -187,7 +187,7 @@ class TwistingTheHellmouthSiteAdapter(BaseSiteAdapter): nextpage = 'http://'+self.host+nextarrow['href'] logger.debug("**AUTHOR** nextpage URL: "+nextpage) authordata = self._fetchUrl(nextpage) - logger.info("authsoup:%s"%authorsoup) + #logger.info("authsoup:%s"%authorsoup) descurl=nextpage authorsoup = self.make_soup(authordata) except urllib2.HTTPError, e: