mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Merge pull request #147 from wassname/patch-1
avoid stripping html from description
This commit is contained in:
commit
56a8f9ad3a
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ class RoyalRoadAdapter(BaseSiteAdapter):
|
|||
self.story.setMetadata('numChapters',len(self.chapterUrls))
|
||||
|
||||
# this is forum based so it's a bit ugly
|
||||
description=soup.find('div',{'class':'description'}).text.strip()
|
||||
description = soup.find('div', {'property': 'description', 'class': 'hidden-content'})
|
||||
self.setDescription(url,description)
|
||||
|
||||
dates = [tr.findAll('td')[1] for tr in chapters.findAll('tr')]
|
||||
|
|
|
|||
Loading…
Reference in a new issue