File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 )
You can’t perform that action at this time.
0 commit comments