Python Forum
Get the attributes value with xPath
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get the attributes value with xPath
#2
Try:
tree.xpath("//*[@class='index__stars__2ads4 index__large__1Ez3-']/@data-score")
Reply


Messages In This Thread
Get the attributes value with xPath - by vulturas - May-22-2022, 05:28 PM
RE: Get the attributes value with xPath - by snippsat - May-22-2022, 07:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  need help with xpath pythonprogrammer 1 2,881 Jan-18-2020, 11:28 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020