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

downloading经常负数 #100

Open
xibaibai9527 opened this issue Apr 11, 2018 · 5 comments
Open

downloading经常负数 #100

xibaibai9527 opened this issue Apr 11, 2018 · 5 comments

Comments

@xibaibai9527
Copy link

代理不太稳定,下载的时候就经常变成负数
06

@xibaibai9527
Copy link
Author

00
还有一个毛病,这个图里3个 #24 手动关掉一个,会开一个新进程,但老进程依旧在下载
3个进程互相干扰,一个下载到一半,另一个开始了,老的就停了,轮流这么弄,所以一直下载不完

1 similar comment
@xibaibai9527
Copy link
Author

00
还有一个毛病,这个图里3个 #24 手动关掉一个,会开一个新进程,但老进程依旧在下载
3个进程互相干扰,一个下载到一半,另一个开始了,老的就停了,轮流这么弄,所以一直下载不完

@ccloli
Copy link
Owner

ccloli commented Apr 11, 2018

Duplicate with #80.

关于旧进程依旧在下载的问题,有可能是 Tampermonkey 扩展中的一些时序有些问题,之前有个 issue 有提到的。不过那个应该已经修复了,有时间会注意下有没有这样的问题。

Download 变为 -1 和之前的那个 issue 重复了,最近还没有遇到变为 -1 的问题,有时间也顺便看看。

主要是现在的代码挺难维护的,当年都是 xjb 糊,感觉重写一个比修 bug 还简单些,不过 v2 自从大概半年前开了个新分支然后执行了一次 npm init 后就没动了,天国的 v2

@xibaibai9527
Copy link
Author

过去快两个月了,负数的问题依旧存在。大多数时候是直连下载,一个200页的本子大概有50页左右必须挂代理,但是有一半的几率会在一轮过后有负数的现象。

@xibaibai9527
Copy link
Author

@ccloli
最近大陆常用的一些代理都挂了,直连下载代码变负数的现象格外严重……
有一个思路作者大大看怎么样。就和未完成的时候强制下载按钮一样,再增加一个按钮,强行停止已有进程,重新下载所有未下载图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants