iefimerida: Change in getLocalLinks to use urldefrag. Remove the import at the beginning.