lynx -listonly -nonumbers -dump "$1" | grep 4cdn | sort -u | xargs yt-dlp
Is there a way to get a curl equivalent of this? Arg 1 is just a url, mostly used for threads on wsg. This just downloads all the images for a given thread. Seems like curl would be able to do this except I use sort -u to filter out duplicates. Idk if curl can do that.