Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e072de4

Browse files
fix ui
1 parent ede93c9 commit e072de4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎management/ui.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
},
5757
{
5858
"way": "9",
59-
"way_cn": "网盘",
59+
"way_cn": "百度网盘",
6060
"address": "",
6161
"passwd": ""
6262
},
6363
{
6464
"way": "115",
65-
"way_cn": "微云",
65+
"way_cn": "115网盘",
6666
"address": "",
6767
"passwd": ""
6868
}
@@ -78,7 +78,7 @@ def get_value():
7878
for i in range(1, int(episode_input[1].get()) + 1):
7979
d = dl.copy()
8080
d["episode"] = str(i)
81-
d["name"] = "{}{}".format(cn_input[1].get(), i)
81+
d["name"] = "{}第{}集".format(cn_input[1].get(), i)
8282
item_structure["MP4"].append(d)
8383

8484
info_structure = {
@@ -95,7 +95,7 @@ def get_value():
9595
}
9696

9797
complete["data"]["info"] = info_structure
98-
complete["data"]["list"] = [item_structure]
98+
complete["data"]["list"][0]["items"] = {"MP4":[item_structure]}
9999

100100
with open("sample.json", "w") as f:
101101
json.dump(complete, f, indent=4, ensure_ascii=False)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /