Answer the question
In order to leave comments, you need to log in
How to parse the router page in order to collect clients connected to it?
Given: D-link dir860l router, Python programming language (requests, bs4)
In general, the problem is that I log in to the web face of the router, go to the page with wifi clients and collect all the information, but the client information itself is loaded into the form a little later
how to force the code is to wait for the information to be loaded and display its
silenium do not offer because you need to do without calling extra windows like the browser
telnet, ssh, snmp is not supported
please help those google forums and dances with tambourines do not help
Answer the question
In order to leave comments, you need to log in
In routers where there is telnet and busybox, you can find out how many users (ip and mac) with the cat /proc/net/arp command. telnetlib library required
Does the router know how to ssh? If yes, then paramiko and ssh commands there.
SNMP protocol
As an implementation example
https://geektimes.ru/post/256262/
In python, this data can be obtained through the appropriate library for the snmp protocol
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question