From 1ce45cfe5c00b870369c7781e11245b4e9f826c1 Mon Sep 17 00:00:00 2001 From: Ida Date: Sat, 16 Jun 2012 18:45:48 -0400 Subject: [PATCH] Fixed error in ashwinder from using a different skin. --- fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py b/fanficdownloader/adapters/adapter_ashwindersycophanthexcom.py index 707c1fc7..fd92931c 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','width' : '100%'}): + for info in asoup.findAll('table', {'width' : '100%', 'bordercolor' : re.compile(r'#')}): 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,6 @@ 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 = ""