E
E
Evstolyan2021-03-22 13:38:13
Python
Evstolyan, 2021-03-22 13:38:13

BeautfilSoup. How to exclude the content of certain html tags?

Hello! I am writing a bot that parses information from one site. I need to pick up one block where the content of the i tag interferes with me. I would like to ask how it can be excluded when parsing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2021-03-22
@Evstolyan

.decompose()

I would like to ask how you can exclude it when parsing.
I would like to ask if you could give an example of a site?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question