Fix reference to undefined variable.

link was actually result["link"]
Merge pull request #11 from seutje/patch-1

Fix reference to undefined variable.