Board Thread:General Discussion/@comment-2039590-20121204221805/@comment-2039590-20121206063343

By the way, this might be useful. "[%s %s] (%s)" % (url, description, date) gives you the string in quotes, with each %s replaced by the corresponding variable inside the parenthesis.

And text.split("<a href=\"")[1].split("\"")[0] ordinarily gives you the url of the first link on a page.