Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    from ddgs import DDGS

    def web_search(query: str, max_results: int = 8) -> list[dict]:
        return DDGS().text(query, max_results=max_results)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: