refactor domain_from_link(), add extract_permashortcitations()