add function of extracting one url