Get Span value using Curl or Python (but when I do it empty)?

I have this video surveillance software on Windows that has remote access for a browser on a PC. (I can also browse from the remote, since I have a public IP address). I check the code in the browser user interface and want to take these range values:

webpage code

<span id="liveCameraCount">2</span>
<span id="totalCameraCount">2</span>

but when i run this curl code:

curl --user [user]:[password] http://[MY.PC.IP.ADDRESS.]:[PORT]

I get all the code, but the range that interests me is:

<span id="liveCameraCount"></span>
<span id="totalCameraCount"></span>

answer from Curl

Without meaning in it ... why? I also tried Python code with urllib module and beautifulsoup, but the same result

+4
source share

Source: https://habr.com/ru/post/1615590/


All Articles