changed link extraction to give url -> text map