[Python] How do I Google search only Images using Python? (webbrowser module)

Discussão em 'Python' iniciado por Stack, Fevereiro 7, 2025.

  1. Stack

    Stack Membro Participativo

    Is there a way how I can search only images on google, how do I construct a URL for that?

    query="raccoon"
    import webbrowser
    webbrowser.open(f"https://www.google.com/search?q={query}")


    How do I make it to show only images in the result?

    Continue reading...

Compartilhe esta Página