How to implement xpath split in python

time_list = response.xpath("//div[@class="listBox"]/ul[@class="list"]//li/span/text()").extract()

xpath  

 

for item in response.xpath("//div[@class="listBox"]/ul[@class="list"]//li"):
    time=item.xpath("/span/text").extract()[0]
    title=item.xpath("/a/text()").extract()[0]
    link=item.xpath("/a/@href").extract()[0]
    print(time)
    print(title)
    print(link)
    
 xpath 
Apr.15,2022

what's wrong?

time=item.xpath ('/ span/text'). Extract () [0], should this sentence be changed to:
time=item.xpath ('/ span/text ()'). Extract () [0]

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eac30b-20bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eac30b-20bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?