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

关于新图覆盖旧图的问题 #75

Open
einstu opened this issue Oct 9, 2020 · 11 comments
Open

关于新图覆盖旧图的问题 #75

einstu opened this issue Oct 9, 2020 · 11 comments
Labels
求助/募集 程序编写上需要帮助 问题 咨询使用存在的问题

Comments

@einstu
Copy link

einstu commented Oct 9, 2020

不知道是不是只有我会这样,不仅报错,有些旧图会被覆盖,覆盖后大小变成新图一样,图片最下方会出现彩色的横纹,如果能和NijieDownloader一样旧图自动备份就好了

@UNSCs117
Copy link

UNSCs117 commented Oct 9, 2020

我好像有几张图变成这样了。。。大部分旧的图在aria2下载的时候就会被终止掉(已存在该文件)

@Mapaler
Copy link
Owner

Mapaler commented Oct 10, 2020

这种一般是作者重投稿更改了图片文件导致的

@Mapaler
Copy link
Owner

Mapaler commented Oct 10, 2020

因为PUBD没有下载部分,该部分是Aria2来完成的,所以可以考虑将aira2设置改为允许覆盖allow-overwrite=true,这样旧文件就会被覆盖掉。
或者设置为允许重命名auto-file-renaming=true,这样新文件就会被改名。

@Mapaler Mapaler closed this as completed Oct 10, 2020
@Mapaler Mapaler reopened this Oct 10, 2020
@Mapaler Mapaler added the 问题 咨询使用存在的问题 label Oct 10, 2020
@einstu
Copy link
Author

einstu commented Oct 11, 2020

好像是p站更新了什么,删除了图片的详细信息,虽然看起来一样但大小不一样了,好多图片都被错误覆盖

@einstu
Copy link
Author

einstu commented Oct 11, 2020

允许覆盖或者重命名都会有旧图被错误覆盖,Aria2是最新版本

@Mapaler
Copy link
Owner

Mapaler commented Oct 11, 2020

那我目前也不知道了,pubd只是把下载链接传递给aria2,无法获取本地文件存在状态。

@Mapaler Mapaler added the 求助/募集 程序编写上需要帮助 label Oct 11, 2020
@einstu
Copy link
Author

einstu commented Oct 12, 2020

还有人会这样吗?

@BakaJzon
Copy link

image
不知道这个有没有用

@Mapaler
Copy link
Owner

Mapaler commented Feb 22, 2021

@BakaJzon 是我以前没注意到过的参数,有需要的可以试试看。
https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-conditional-get

@BakaJzon
Copy link

这个必须得搞成可选项(

@Mapaler
Copy link
Owner

Mapaler commented Feb 23, 2021

@BakaJzon 自己添加到Aria2的设置不就好了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
求助/募集 程序编写上需要帮助 问题 咨询使用存在的问题
Projects
None yet
Development

No branches or pull requests

4 participants