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
RT,某一天把某画师的图都扒完并且做了筛选,不要的图被我扔了。几个月后再看发现他更新了一大堆图,但是再从头下载一遍所有的图显然效率太低,对只下载某天之后发布的或只下载PID大于某数的图片的功能很有需求啊。。。不知道啥时候有类似这样的更新或者说用代码就能实现?(不会写代码但还是看得懂一部分的)
The text was updated successfully, but these errors were encountered:
请添加筛选代码
如下筛选代码作用:创建时间小于2020年10月1日0点的作品全部不进行下载。
new Date(illust.create_date) < new Date("2020-10-01 00:00:00")
如下筛选代码作用:创建时间小于现在10天前的作品全部不进行下载。
new Date(illust.create_date) < new Date(Date.now() - 24*60*60*1000 * 10)
其中Date.now()表示当前时间,减去值的意义为 24小时×60分×60秒×1000毫秒 ×10天
Date.now()
用 ID 来筛选就简单了
illust.id < 123456
Sorry, something went wrong.
啊谢谢啦,原来代码是可以解决的啊
No branches or pull requests
RT,某一天把某画师的图都扒完并且做了筛选,不要的图被我扔了。几个月后再看发现他更新了一大堆图,但是再从头下载一遍所有的图显然效率太低,对只下载某天之后发布的或只下载PID大于某数的图片的功能很有需求啊。。。不知道啥时候有类似这样的更新或者说用代码就能实现?(不会写代码但还是看得懂一部分的)
The text was updated successfully, but these errors were encountered: