urlscan

View and select URLs in email messages or text files

brewmacoslinux
Try with needOr install directly
Source

About

View/select the URLs in an email message or file

Commands

urlscan

Examples

Extract and select URLs from an email file$ urlscan email.txt
Pipe email content from mutt or other mail clients$ cat message.eml | urlscan
Open urlscan in interactive mode to browse and select URLs$ urlscan < email_message.txt