This commit is contained in:
jxxghp 2023-10-01 21:46:09 +08:00
parent 0b84b05cdd
commit 02296e1758

View File

@ -516,9 +516,9 @@ class PersonMeta(_PluginBase):
if douban_actor.get("character"): if douban_actor.get("character"):
# "饰 詹姆斯·邦德 James Bond 007" # "饰 詹姆斯·邦德 James Bond 007"
character = re.search(r"\s(.*)\s*", character = re.search(r"\s(.*)\s*",
douban_actor.get("character")).group(1) douban_actor.get("character"))
if character: if character:
ret_people["Role"] = character ret_people["Role"] = character.group(1)
else: else:
ret_people["Role"] = douban_actor.get("character") ret_people["Role"] = douban_actor.get("character")
updated_name = True updated_name = True