File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 56
56
},
57
57
{
58
58
"way" : "9" ,
59
- "way_cn" : "网盘 " ,
59
+ "way_cn" : "百度网盘 " ,
60
60
"address" : "" ,
61
61
"passwd" : ""
62
62
},
63
63
{
64
64
"way" : "115" ,
65
- "way_cn" : "微云 " ,
65
+ "way_cn" : "115网盘 " ,
66
66
"address" : "" ,
67
67
"passwd" : ""
68
68
}
@@ -78,7 +78,7 @@ def get_value():
78
78
for i in range (1 , int (episode_input [1 ].get ()) + 1 ):
79
79
d = dl .copy ()
80
80
d ["episode" ] = str (i )
81
- d ["name" ] = "{}{} " .format (cn_input [1 ].get (), i )
81
+ d ["name" ] = "{}第{}集 " .format (cn_input [1 ].get (), i )
82
82
item_structure ["MP4" ].append (d )
83
83
84
84
info_structure = {
@@ -95,7 +95,7 @@ def get_value():
95
95
}
96
96
97
97
complete ["data" ]["info" ] = info_structure
98
- complete ["data" ]["list" ] = [item_structure ]
98
+ complete ["data" ]["list" ][ 0 ][ "items" ] = { "MP4" : [item_structure ]}
99
99
100
100
with open ("sample.json" , "w" ) as f :
101
101
json .dump (complete , f , indent = 4 , ensure_ascii = False )
You can’t perform that action at this time.
0 commit comments