S
S
Soul12020-10-26 17:17:54
Parsing
Soul1, 2020-10-26 17:17:54

What is special about parsing with Beautiful Soup?

Good day ! Tell me, what is the advantage of parsing with Beautiful Soup? The difference in advanced functionality compared to standard methods ? Difference in parsing speed? Or maybe it is intended for complex parsing, but for simple parsing, you can get by with standard methods?
For example, there is a website page, I can save it in the usual way, then get the contents of the file in text form and search through the standard string method find(). How does this method lose to solving the same problem using Beautiful Soup ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SKEPTIC, 2020-10-26
@pro100chel

What's the other feature?
There is no feature. It's just a parsing tool. lxml by the way will be faster. In my tasks, the speed of lxml is 5-10 times higher than bs4.
If I'm talking about the lxml module, and not about lxml in bs4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question