Thanks for sharing urlscan. It's super useful.
If I collect several URLs and open them doing o, only the last collected is yanked when calling urlscan --run yank --pipe.
To rule out a yank script issue, I've tried echo a b c d | yank and all four parameters are yanked successfully.
For reference, I'm using this yank script.