Apr-24-2021, 12:52 AM
Maybe something more like...?
>>> tree.xpath("//div[@class='sales-info']/h1/text()")[0] '\n Spector Ivan\n '
Need help with XPath using requests,time,urllib.request and BeautifulSoup
|
|
Messages In This Thread |
Need help with XPath using requests,time,urllib.request and BeautifulSoup - by spacedog - Apr-24-2021, 12:32 AM
RE: Need help with XPath using requests,time,urllib.request and BeautifulSoup - by bowlofred - Apr-24-2021, 12:52 AM
RE: Need help with XPath using requests,time,urllib.request and BeautifulSoup - by spacedog - Apr-24-2021, 01:47 AM
RE: Need help with XPath using requests,time,urllib.request and BeautifulSoup - by bowlofred - Apr-24-2021, 02:48 AM
|