2 Attachment(s)
Web scraping from printer web interface
Hi,
in my company there are over 100 network printers,i need to retrive toner levels from their web interface.
I need help with this
excel looks like this
Location |
IP address |
BK |
Y |
M |
C |
Toner waste |
Room1 |
https://XX.XX.XX.XX/ |
|
|
|
|
|
Room2 |
https://XX.XX.XX.XX/ |
|
|
|
|
|
Room3 |
https://XX.XX.XX.XX/ |
|
|
|
|
|
Room4 |
https://XX.XX.XX.XX/ |
|
|
|
|
|
Attachment 27204
Attachment 27203
Part of code from web interface
HTML Code:
</script></fieldset><div class="information-last clearfix " ><ul class="inksection"><li class='tank'>
<div class='tank'>
<img class='color' src='../../IMAGE/Ink_K.PNG' height='48' style=''>
</div>
<div class='clrname'>BK</div>
</li><!--
--><li class='tank'>
<div class='tank'>
<img class='color' src='../../IMAGE/Ink_Y.PNG' height='13' style=''>
</div>
<div class='clrname'>Y</div>
</li><!--
--><li class='tank'>
<div class='tank'>
<img class='color' src='../../IMAGE/Ink_M.PNG' height='12' style=''>
</div>
<div class='clrname'>M</div>
</li><!--
--><li class='tank'>
<div class='tank'>
<img class='color' src='../../IMAGE/Ink_C.PNG' height='9' style=''>
</div>
<div class='clrname'>C</div>
</li><!--
--><li class='tank'>
<div class='tank'>
<img class='color' src='../../IMAGE/Ink_Waste.PNG' height='9' style=''>
</div>
<div class='mbicn'><img src='../../IMAGE/Icn_Mb.PNG' height='18' width='18'></div>
</li>