Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Auto-retry when the video failed to download #14

Closed
dreamjz opened this issue Dec 22, 2023 · 0 comments · Fixed by #19
Closed

[FEAT] Auto-retry when the video failed to download #14

dreamjz opened this issue Dec 22, 2023 · 0 comments · Fixed by #19
Labels
enhancement New feature or request
Milestone

Comments

@dreamjz
Copy link
Member

dreamjz commented Dec 22, 2023

Is your feature request related to a problem?

When some videos failed to download, hani just canceled the download and star from beginning next time.

当某些文件下载错误时,hani 会直接取消下载。

Describe the solution you'd like

Add a flag like retry to define the number of retries for video downloading.

添加例如 retry 的 flag 用于为视频下载设置重试次数。

Why is the feature needed?

The users will not need to re-execute hani to download the videos that failed to download.

用户将无需重新执行 hani 来重新下载。

Example

$ hani dl -s xxx
xxx1 error  -> xxx1 downloading -> xxx1 complete
xxx2 downloading 
@dreamjz dreamjz added the enhancement New feature or request label Dec 22, 2023
@dreamjz dreamjz added this to the v0.3.1 milestone Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant