mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 02:51:48 +02:00
better description selector
This commit is contained in:
parent
a1bd9c8379
commit
a0b4332da8
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'})
|
||||
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