Wie finde ich alle Links mit 3 Attributen mit schöner Suppe?Schöne Suppe. So finden Sie alle Links mit 3 Attributen
würde Ich mag alle Links finden, die alle Attribute sind:
a id="js_24" class="_27jf _3emk" data-hover="tooltip"
Ich habe versucht, eine solche Art und Weise:
emo = soup.find_all('a', {'id': 'fjs_24', 'class': '_27jf _3emk', 'data-hover':"tooltip"})
aber keinen Erfolg. Ich bekomme keine Ergebnisse.
Voll Link sieht so:
<a id="js_24" class="_27jf _3emk" data-hover="tooltip" aria-label="6 Wow" href="/ufi/reaction/profile/browser/?ft_ent_identifier=909182312524600&av=100011414120311" rel="ignore" role="button" tabindex="-1">
ist die ID nicht eindeutig zuzuordnen? –
Nein, es ist nicht so einfach;) –