def get_jobs(links, url):
    """ Get all job categories and corresponding links. """
    names = []
    urls = []

    jobs = links.find_all('ul', {'id': 'jjj0'})
    links = jobs[0].find_all('a')

    for link in links:
        names.append(link.text)
        urls.append(url + link.get('href'))

    return names, urls