def radar(): """Real-Time Map of some results as Shodan finds them.""" key = get_api_key() api = shodan.Shodan(key) from shodan.cli.worldmap import launch_map launch_map(api)
def radar(): """Real-Time Map of some results as Shodan finds them.""" key = get_api_key() api = shodan.Shodan(key) from shodan.cli.worldmap import launch_map try: launch_map(api) except shodan.APIError as e: raise click.ClickException(e.value) except Exception as e: raise click.ClickException(u'{}'.format(e))