mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-27 10:42:08 +01:00
Fix fanfiktionde status parsing
This commit is contained in:
parent
216cb27f03
commit
bfc0c4f3ef
1 changed files with 3 additions and 3 deletions
|
|
@ -163,11 +163,11 @@ class FanFiktionDeAdapter(BaseSiteAdapter):
|
|||
except e:
|
||||
logger.debug("Failed to find native status:%s"%e)
|
||||
|
||||
if head.find('span',title='Fertiggestellt'):
|
||||
if head.find('span',title='fertiggestellt'):
|
||||
self.story.setMetadata('status', 'Completed')
|
||||
elif head.find('span',title='Pausiert'):
|
||||
elif head.find('span',title='pausiert'):
|
||||
self.story.setMetadata('status', 'Paused')
|
||||
elif head.find('span',title='Abgebrochen'):
|
||||
elif head.find('span',title='abgebrochen'):
|
||||
self.story.setMetadata('status', 'Cancelled')
|
||||
else:
|
||||
self.story.setMetadata('status', 'In-Progress')
|
||||
|
|
|
|||
Loading…
Reference in a new issue