[Python] not able to get a link while web scraping

Discussão em 'Python' iniciado por Stack, Março 8, 2025.

  1. Stack

    Stack Membro Participativo

    I want to do web scraping using Python, on a page when 'T20I' is selected. For that, I need to put a specific link in requests and beautifulsoup.

    whenever I open https://www.espncricinfo.com/cricketers/team/india-6 this link, I get a page with "INTL" selected.

    Image with "INTL" selected: [​IMG]

    But when I select "T20I", I get a different page but with similar link https://www.espncricinfo.com/cricketers/team/india-6

    image with "T20I" selected: [​IMG]

    Then what should I do in this situation to retrieve the data? How will I get data when "T20I" is selected?

    Continue reading...

Compartilhe esta Página