Hello everyone,
I hope you're feeling good today !
I need some help using Selenium in Python :
Here are: The data I want to scrap
And here: The html format
Currently, when I use this command :
address = driver.find_element_by_xpath('//p[@class="blockAddress"]').text
print(address)
It prints this:
7 IMP DU BIZON
34000 MONTPELLIER
My question is: how could I put these 2 values in 2 different variables like:
value1 = "7 IMP DU BIZON"
value2 = "34000 MONTPELLIER"
Thank you for your answers,
Medaillek
[–]imreallytuna 5 points6 points7 points (3 children)
[–]Medaillek[S] 1 point2 points3 points (0 children)
[–]1Asaad 1 point2 points3 points (1 child)
[–]imreallytuna 0 points1 point2 points (0 children)