'Parses url to the content
Args:
Soup tag object
Returns:
Url with anchor'

def get_url(self, soup):

    anchor = soup.get('id')
    if anchor:
        parsed_url = '{}#{}'.format(os.path.join(URL_ROOT, self.file_name), anchor)
    else:
        parsed_url = os.path.join(URL_ROOT, file_name)
    return parsed_url
