rogerxavier commited on
Commit
66a66a5
1 Parent(s): 251d42c

Update api.py

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