We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用过程中会出现这个 因为课程内容大小不一样 重复这个过程最多能够下载完成3个视频 但是剩下的就怎么都下载不完了 有的章节10来个视频呢
如果使用下载课程全部视频 会继续上面的那个错误跳到下个章节序列继续下载 但是也是下载不全 不知道怎么解决
def run_shell(shell, retry=True, retry_times=3): cmd = subprocess.Popen( shell, close_fds=True, shell=True, bufsize=1, stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL, )
if retry and cmd.returncode != 0: time.sleep(1) if retry_times > 0: return run_shell(shell, retry=True, retry_times=retry_times - 1) print('\nShell出现异常,请自行查看课程文件是否转码成功') return cmd.returncode
我感觉是不是这个地方有问题造成的 是不是def run_shell(shell, retry=True, retry_times=3): 这个retry_times=3 值修改大一点?
The text was updated successfully, but these errors were encountered:
是不是转码的问题,我的是shell出现异常,下载的进度不完整,下载都是ts文件,无法打开
Sorry, something went wrong.
按理说不会,我试过一个章节10多个视频的课,没问题。你发下完整日志和报错,日志个人信息部分记得去掉
No branches or pull requests
使用过程中会出现这个
因为课程内容大小不一样 重复这个过程最多能够下载完成3个视频 但是剩下的就怎么都下载不完了 有的章节10来个视频呢
如果使用下载课程全部视频 会继续上面的那个错误跳到下个章节序列继续下载 但是也是下载不全 不知道怎么解决
def run_shell(shell, retry=True, retry_times=3):
cmd = subprocess.Popen(
shell,
close_fds=True,
shell=True,
bufsize=1,
stderr=subprocess.DEVNULL,
stdout=subprocess.DEVNULL,
)
我感觉是不是这个地方有问题造成的
是不是def run_shell(shell, retry=True, retry_times=3): 这个retry_times=3 值修改大一点?
The text was updated successfully, but these errors were encountered: