Add a base URL to xlinx

TL;DR

Adding a base to relative urls in xlinx.

Some time ago I posted about a script to Extract links/images from files or URLs and left with these words:

[…] it does not pre-pend a base URL in case of relative URLs.

Of course, I needed the script and of course I needed absolute URLs.

The robust thing would be to look at what LWP does and replicate it. To be honest, I’m not really in the mood, so I adopted a different approach instead.

Enough for today, cheers and stay safe!


Comments? Octodon, , GitHub, Reddit, or drop me a line!