def search_by_entity_name(entity_name, entity_search_type='B'):
    return query({'ctl00$MainContent$CorpSearch': 'rdoByEntityName',
        'ctl00$MainContent$txtEntityName': entity_name,
        'ctl00$MainContent$ddBeginsWithEntityName': entity_search_type})
How to start a query from a static website?