From 3ef8d02979b11df7d293e0e9710bba745e2d121f Mon Sep 17 00:00:00 2001 From: Ida Date: Sun, 10 Jun 2012 11:46:24 -0400 Subject: [PATCH] Added an extra pointer when searching for metadata in ashwinder.sycopahanthex.com --- fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py b/fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py index fbd3331..707c1fc 100644 --- a/fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py +++ b/fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py @@ -157,7 +157,7 @@ class AshwinderSycophantHexComAdapter(BaseSiteAdapter): except: pass - for info in asoup.findAll('table', {'bordercolor' : '#1A1919'}): + for info in asoup.findAll('table', {'bordercolor' : '#1A1919','width' : '100%'}): a = info.find('a', href=re.compile(r'viewstory.php\?sid='+self.story.getMetadata('storyId')+"$")) if a != None: self.story.setMetadata('title',a.string) @@ -189,7 +189,7 @@ class AshwinderSycophantHexComAdapter(BaseSiteAdapter): for cat in cats: self.story.addToList('category',cat.string) - + logging.debug(info) a = info.find('a', href=re.compile(r'reviews.php\?sid='+self.story.getMetadata('storyId'))) val = a.nextSibling svalue = ""