Added an extra pointer when searching for

metadata in ashwinder.sycopahanthex.com
This commit is contained in:
Ida
2012-06-10 11:46:24 -04:00
parent 3eab775fd1
commit 3ef8d02979
@@ -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 = ""