Extracting internal and external links - draft.