1、完成图片视频
2、优化定时任务,抽出基类服务 3、todo:日志保存时间设置,默认10天 4、todo:同一个视频-只下载一次。就是对于收藏了,又喜欢了,或者又刚好是关注的up主,看哪个定时任务先同步到,后面就不在重复下载了
This commit is contained in:
@@ -29,7 +29,7 @@ namespace dy.net.service
|
||||
cron++;
|
||||
expression = cron.ToString();
|
||||
}
|
||||
//await StartFavoriteJob(expression);
|
||||
await StartFavoriteJob(expression);
|
||||
|
||||
await Task.Delay(delay);
|
||||
if (int.TryParse(expression, out int cron2))
|
||||
@@ -37,7 +37,7 @@ namespace dy.net.service
|
||||
cron2++;
|
||||
expression = cron2.ToString();
|
||||
}
|
||||
await StartUperPostJob(expression);
|
||||
//await StartUperPostJob(expression);
|
||||
}
|
||||
|
||||
private async Task<bool> StartCollectJob(string expression)
|
||||
|
||||
Reference in New Issue
Block a user