getlinks takes arguments in a hash