Skip to content

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

Description

@FredThx

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]>

<script src="common.js" type="text/javascript"></script>

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions