mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Fix for adapter_wuxiaworldcom site change.
This commit is contained in:
parent
4e002d15e0
commit
934ad4a584
1 changed files with 2 additions and 1 deletions
|
|
@ -88,10 +88,11 @@ class WuxiaWorldComSiteAdapter(BaseSiteAdapter):
|
|||
|
||||
soup = self.make_soup(data)
|
||||
ld = self._parse_linked_data(soup)
|
||||
logger.debug(ld)
|
||||
author_name = ld['author']['name']
|
||||
self.story.setMetadata('author', author_name)
|
||||
self.story.setMetadata('authorId', author_name.lower())
|
||||
self.story.setMetadata('title', ld['headline'])
|
||||
self.story.setMetadata('title', ld['name'])
|
||||
self.story.setMetadata('datePublished', self._parse_date(ld['datePublished']))
|
||||
|
||||
tags = [stripHTML(a) for a in soup.select('.media-body .tags a')]
|
||||
|
|
|
|||
Loading…
Reference in a new issue