mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-26 19:00:03 +01:00
Add comment that chireads.com and wuxiaworld.com don't seem to have authorUrl links.
This commit is contained in:
parent
d1fb0d0d3c
commit
5bb53b83ae
2 changed files with 3 additions and 1 deletions
|
|
@ -88,6 +88,7 @@ class ChireadsComSiteAdapter(BaseSiteAdapter):
|
|||
# author = stripHTML(info.h6).split('\xa0')[0].replace(u'Auteur : ', '', 1)
|
||||
self.story.setMetadata('author', author)
|
||||
self.story.setMetadata('authorId', author)
|
||||
## site doesn't have authorUrl links.
|
||||
|
||||
datestr = stripHTML(soup.select_one('.newestchapitre > div > a')['href'])[-11:-1]
|
||||
date = makeDate(datestr, '%Y/%m/%d')
|
||||
|
|
|
|||
|
|
@ -94,7 +94,8 @@ class WuxiaWorldComSiteAdapter(BaseSiteAdapter):
|
|||
self.story.setMetadata('authorId', author_name.lower())
|
||||
self.story.setMetadata('title', ld['name'])
|
||||
self.story.setMetadata('datePublished', self._parse_date(ld['datePublished']))
|
||||
|
||||
## site doesn't have authorUrl links.
|
||||
|
||||
tags = [stripHTML(a) for a in soup.select('.media-body .tags a')]
|
||||
for tag in tags:
|
||||
if 'Completed' == tag:
|
||||
|
|
|
|||
Loading…
Reference in a new issue