def get_task_link(task_id, task_df):
    """Get the link from the PYBOSSA task."""
    try:
        task = task_df.loc[int(task_id)]
    except KeyError:
        return None
    return task['info']['link']