[Python] How do you find location of "download" button on web page to provide to Python...

Discussão em 'Python' iniciado por Stack, Janeiro 19, 2025.

  1. Stack

    Stack Membro Participativo

    I'm new at using Python for web scraping. Basically, what I need to do is to find the location of a "download" button and provide this location to the Python code. The location should look similar to this:

    /html/body/div[3]/div/div[3]/div[2]/div/div[1]/div/div/div[1]/div/div[3]/div[1]/div/ul[2]/li[3]/div/div[1]/button/span

    Can somebody tell me how to obtain this location? Thanks.

    Continue reading...

Compartilhe esta Página