[Python] How to use soup to find partial links [closed]

Discussão em 'Python' iniciado por Stack, Agosto 10, 2025.

  1. Stack

    Stack Membro Participativo

    I have an ebay page in which I would like to formulate a list of all the item numbers on that page. I have executed and parsed the html using requests and BeautifulSoup but I can't figure out how to get exactly what I need.

    <li id=“item247f10fa70” class=“s-card s-card—horizontal: data-viewport=“”{“trackableId”:”01K1XBEX0ATN4B5KW20VVB90ZN”}” data-view=“mi:1686|iid:3” data-listingid=“156760641776”>


    But I am just trying to single out the number 156760641776

    Continue reading...

Compartilhe esta Página