Update link-title.py

-Big rewrite - very big thank you to gt3 from #python