A simple implementation in Python of this:
Instructions:
- Clone repo.
- Place .webloc file in same directory as script.
- Call (Python3) script from command line with .webloc file as argument.
- Find similarly-named .html file at same place.
converts Mac webloc browser shortcut files to platform-independent, Javascript-based html shortcuts
Python