M
M
Mark Adams2016-03-21 13:28:58
PHP
Mark Adams, 2016-03-21 13:28:58

How to parse PHP values ​​with BeautifulSoup?

There is code in BeautifulSoup
<span>"Кол-во пользователей&nbsp"</span>
I need to pull the value of nbsp.
On the site, "nbsp" looks like a normal numeric value.
How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Silm, 2016-03-21
@Silm

&nbspis the non-breaking space character. It looks like a gap. Its peculiarity is that the browser will not break the line for transfer along it if it does not fit.
Most likely on the site, JS adds a number to the end of the string, after this space.

M
Mark Adams, 2016-03-21
@ilyakmet

found a solution

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question