R
R
Ruslan2020-10-29 15:49:07
Python
Ruslan, 2020-10-29 15:49:07

How to parse what's inside an lxml tag?

ml = soup.find('span',id='z-level').find("span")
print('Ml: ',ml)

Output:
ML : 48 The

question is how to pull out what is inside the span? It does not work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan, 2020-10-29
@ruprup

.get_text()
found, sorry for the stupid question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question