Skip to content

Commit

Permalink
tests: temp GitHub Action
Browse files Browse the repository at this point in the history
Signed-off-by: jingfelix <[email protected]>
  • Loading branch information
jingfelix committed Oct 6, 2024
1 parent 3fb228c commit 1596103
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bilifm/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def download(self):
res = requests.get(
self.playUrl, params=params, headers=self.headers, timeout=60
)
print(res.status_code)

json = res.json()

Expand Down Expand Up @@ -161,7 +160,7 @@ def download(self):
except Exception as e:
console.print(
Panel(
f"[bold red]下载失败[/bold red]\n错误: {str(e)}",
f"[bold red]下载失败[/bold red]\n Code: {res.status_code} 错误: {str(e)}",
title="异常",
expand=False,
)
Expand Down

0 comments on commit 1596103

Please sign in to comment.