fix webpush

This commit is contained in:
jxxghp
2024-09-21 17:59:39 +08:00
parent c51826ba4c
commit fada22e892
3 changed files with 52 additions and 35 deletions

View File

@@ -602,6 +602,7 @@ class AliPan(StorageBase):
if res:
download_url = res.json().get("url")
if not download_url:
logger.warn(f"{fileitem.path} 未获取到下载链接")
return None
res = RequestUtils().get_res(download_url)
if res: