essstat icon indicating copy to clipboard operation
essstat copied to clipboard

Don't work with TL-SG1024DE : soup.script.string is None

Open FredThx opened this issue 4 years ago • 5 comments

I try the script with a TL-SG1024DE : python .\essstat.py -d 192.168.10.1 -p xxxx-u FredThx FredThx xxxx http://192.168.10.1 <Response [200]>

None Traceback (most recent call last): File "essstat.py", line 149, in print(pattern.search(soup.script.string).group(0)) TypeError: expected string or bytes-like object

soup.script.string is None!

please find attache the html request PortStatisticsRpm.htm.txt

FredThx avatar Apr 12 '21 20:04 FredThx