mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-13 19:52:31 +01:00
Remove extra '[' from squidgeorgpeja Rating when no stars.
This commit is contained in:
parent
0f77c2428b
commit
e5b0974d0e
1 changed files with 2 additions and 0 deletions
|
|
@ -156,6 +156,8 @@ class SquidgeOrgPejaAdapter(BaseSiteAdapter):
|
|||
#self.story.setMetadata('description',stripHTML(svalue))
|
||||
|
||||
if 'Rated' in label:
|
||||
if value.endswith("["):
|
||||
value = value[:-1]
|
||||
self.story.setMetadata('rating', value)
|
||||
|
||||
if 'Characters' in label:
|
||||
|
|
|
|||
Loading…
Reference in a new issue