You could download the source of the user's profile and use regex to extract the profile link. Because the classes are different, you will need a pattern to find the link and then scrape it.