diff --git a/fanficfare/adapters/adapter_ficwadcom.py b/fanficfare/adapters/adapter_ficwadcom.py index 374b00c..5bb9b1b 100644 --- a/fanficfare/adapters/adapter_ficwadcom.py +++ b/fanficfare/adapters/adapter_ficwadcom.py @@ -135,7 +135,7 @@ class FicwadComSiteAdapter(BaseSiteAdapter): self.story.setMetadata('title', stripHTML(titleh4.a)) # Find authorid and URL from... author url. - a = soup.find('span',{'class':'author'}).find('a', href=re.compile(r"^/author/\d+")) + a = soup.find('span',{'class':'author'}).find('a', href=re.compile(r"^/a/")) self.story.setMetadata('authorId',a['href'].split('/')[2]) self.story.setMetadata('authorUrl','http://'+self.host+a['href']) self.story.setMetadata('author',a.string)