mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-24 17:53:46 +01:00
Remove '.' from numWords in adapter_fanfiktionde
This commit is contained in:
parent
e6e1876f44
commit
0ce1323df1
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ class FanFiktionDeAdapter(BaseSiteAdapter):
|
|||
self.add_chapter(chapter,'https://'+self.host+'/s/'+self.story.getMetadata('storyId')+'/'+chapter['value'])
|
||||
|
||||
## title="Wörter" failed with max_zalgo:1
|
||||
self.story.setMetadata('numWords',stripHTML(soup.find("span",{'class':"fa-keyboard"}).parent))
|
||||
self.story.setMetadata('numWords',stripHTML(soup.find("span",{'class':"fa-keyboard"}).parent).replace('.','')) # 1.234 = 1,234
|
||||
self.story.setMetadata('language','German')
|
||||
|
||||
self.story.setMetadata('datePublished', makeDate(stripHTML(head.find('span',title='erstellt').parent), self.dateformat))
|
||||
|
|
|
|||
Loading…
Reference in a new issue