mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-09 09:32:44 +01:00
Fix for adapter_novelupdatescc not setting authorUrl.
This commit is contained in:
parent
1578a9f724
commit
0055978a57
1 changed files with 4 additions and 3 deletions
|
|
@ -83,10 +83,11 @@ class NovelUpdatesCcSiteAdapter(BaseSiteAdapter):
|
|||
self.setCoverImage(self.url, soup.select_one('.book-img > img')['src'])
|
||||
|
||||
book_info = soup.select_one('.book-info')
|
||||
author = book_info.select_one('.author > .name').get_text()
|
||||
author = book_info.select_one('.author > .name')
|
||||
self.story.setMetadata('title', book_info.select_one('.book-name').get_text())
|
||||
self.story.setMetadata('author', author)
|
||||
self.story.setMetadata('authorId', author)
|
||||
self.story.setMetadata('author', author.get_text())
|
||||
self.story.setMetadata('authorId', author.get_text())
|
||||
self.story.setMetadata('authorUrl', author['href'])
|
||||
|
||||
chapter_info = soup.select_one('.chapter-wrapper')
|
||||
date = makeDate(chapter_info.select_one('.update-time').get_text(), self.DATE_FORMAT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue