rogerxavier commited on
Commit
89f1b16
1 Parent(s): 7313a76

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -0
api.py CHANGED
@@ -205,6 +205,7 @@ def zero_pad(s, length):
205
  #如果默认的cover不能过审,那么随机选取无水印的manga1下面的随便一个作为cover重新上传
206
  @app.get("/upload_again")
207
  async def upload_again(bili_meta_data):
 
208
  meta = bili_meta_data
209
  credential = Credential(sessdata=sessdata,
210
  bili_jct=bili_jct,
 
205
  #如果默认的cover不能过审,那么随机选取无水印的manga1下面的随便一个作为cover重新上传
206
  @app.get("/upload_again")
207
  async def upload_again(bili_meta_data):
208
+ bili_meta_data = json.loads(bili_meta_data)
209
  meta = bili_meta_data
210
  credential = Credential(sessdata=sessdata,
211
  bili_jct=bili_jct,