def search_url_from_id(gebid, raumartid = None):
    """
    returns the url for a search on the university website based on one building and one room type
    """
    template = 'https://www-sbhome1.zv.uni-wuerzburg.de/qisserver/rds?state=wsearchv&search=3&raum.gebid={}&P_start=0&P_anzahl=50&_form=display'
    url = template.format(gebid)
    if raumartid:
        url = '{}&k_raumart.raumartid={}'.format(url, raumartid)
    return url