mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-10 11:40:24 +08:00
Added an extra pointer when searching for
metadata in ashwinder.sycopahanthex.com
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user