I've slightly modified joepie91's url.py so that instead of only outputting your web-link to console, it also places the link in a text file for safekeeping. That's available here.
A patch of the differences between mine and joepie91's url.py.