fix: 大小写转换写入json_data
This commit is contained in:
@@ -120,10 +120,6 @@ def get_data_from_json(
|
||||
series = json_data.get('series')
|
||||
year = json_data.get('year')
|
||||
|
||||
|
||||
if conf.number_uppercase():
|
||||
number = number.upper()
|
||||
|
||||
if json_data.get('cover_small'):
|
||||
cover_small = json_data.get('cover_small')
|
||||
else:
|
||||
@@ -169,6 +165,10 @@ def get_data_from_json(
|
||||
cover_small = tmpArr[0].strip('\"').strip('\'')
|
||||
# ====================处理异常字符 END================== #\/:*?"<>|
|
||||
|
||||
# 处理大写
|
||||
if conf.number_uppercase():
|
||||
json_data['number'] = number.upper()
|
||||
|
||||
# 返回处理后的json_data
|
||||
json_data['title'] = title
|
||||
json_data['original_title'] = title
|
||||
|
||||
Reference in New Issue
Block a user