def build_indeed_url(job_to_search, page_num):
    """build url from indeed website for a job keyword and a page number

    Parameters
    ----------
    job_to_search: string
        job you look for
    page_num : int
        page number

    Returns
    -------
    string:
        built url
    """
    if page_num == 1:
        return "https://fr.indeed.com/jobs?q=" + job_to_search + "&sort=date"
    else:
        return "https://fr.indeed.com/jobs?q=" + job_to_search + "&sort=date&start=" + str((page_num - 1) * 10)