mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 11:00:47 +02:00
Merge pull request #372 from Rikkitp/webnovel_author_fix
Fix author parsing at webnovelcom
This commit is contained in:
commit
7ba0979f1e
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ class WWWWebNovelComAdapter(BaseSiteAdapter):
|
|||
|
||||
def parse_meta(mt,label,setmd):
|
||||
if label in mt:
|
||||
data = mt.split(label,1)[1].split(u'|', 1)[0].strip()
|
||||
data = mt.split(label,1)[1].split('Translator:', 1)[0].split('Editor:', 1)[0].strip()
|
||||
if data:
|
||||
# print("setting %s to %s"%(setmd, data))
|
||||
self.story.setMetadata(setmd, data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue