There is a html file saved on my harddrive, and I need to extract the strings displayed on the html page and save them into a text file using python.
html representation with tags, etc:
Bme: 1 Port: 1<br />
Downstream line rate: 6736 kbps<br />
Upstream line rate: 964 kbps<br />
What I need to extract from above is the number after the
Downstream line rate:
in this case, 6736, and write this number to a file. How can this be achieved?