diff --git a/src/FilterLists.Services/Snapshot/SnapshotService.cs b/src/FilterLists.Services/Snapshot/SnapshotService.cs index 253a69e5c..14484e946 100644 --- a/src/FilterLists.Services/Snapshot/SnapshotService.cs +++ b/src/FilterLists.Services/Snapshot/SnapshotService.cs @@ -34,13 +34,13 @@ private async Task> GetListsToCapture(int batc await DbContext .FilterLists .Where(l => !l.CantSnapshot && + !(l.ViewUrl.StartsWith(WaybackService.WaybackMachineUrlPrefix) && + l.Snapshots.Any(s => s.WasSuccessful)) && (!l.Snapshots.Any() || l.Snapshots .Select(s => s.CreatedDateUtc) .OrderByDescending(d => d) - .First() < yesterday && - !l.ViewUrl - .StartsWith(WaybackService.WaybackMachineUrlPrefix))) + .First() < yesterday)) .OrderBy(l => l.Snapshots.Any()) .ThenBy(l => l.Snapshots .OrderByDescending(s => s.CreatedDateUtc)