plutil -p example.webloc | sed -En 's/.*"(.*)"$/\1/p'
webloc2url.sh - Converts .webloc (Mac) to .url (Windows) files.
https://github.com/flagsoft/webloc2url/
Safari will also open .url files, so I use that as my default.
url-open.sh - open links contained in .URL and .webloc files in your default browser
https://gist.github.com/apfelchips/001b4ffb22c0578220595623f5546107