0

I have dynamic information displayed in html

<span class="Trsdu(0.3s) Fw(b) Fz(36px) Mb(-4px) D(ib)"><!-- react-text: 456 -->0.5936<!-- /react-text --></span>

gives

4,000

Using python I would like to track changes in the number

I have been using beautiful soup to find the span and then the class to find the number

how can I do this every time it changes?

1 Answer 1

1

If the changes are driven by javascript you will need to use something that interprets the javascript (or connects to something else that does) like selenium.

EDIT: clarification

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.