Closed asl97 closed 7 years ago
AFAIK you never have to chain sort -u | uniq
because sort -u
alone already deduplicates entries.
Downloading from newest to the oldest is a feature, not a bug. FurAffinity displays images in that order so the least surprising behaviour is downloading them in the display order.
Thus I would simply pipe the results through uniq
and be done with it; that should solve the duplicate requests while preserving downloading in the display order.
Removed sort -u
and rebased.
Honestly though, downloading from oldest to newest is more useful when downloading through a pool/group.
Newest to oldest, on the other hand, lets you update your local collection with latest additions without walking through the entire list.
Thanks for your contribution!
uniq
prevent downloading of the same link/page.Duplicate test:
Current:
with uniq: