cancel
Showing results for 
Search instead for 
Did you mean: 
Common problems for INSTANT INK, HP+ PLANS: INK AND TONER
We would like to share some of the most frequently asked questions about Instant Ink. Check out this link: HP INSTANT INK, HP+ PLANS: INK AND TONER. .
Bianca491
New member
1 0 0 0
Message 1 of 1
156
Flag Post

How to Mechanize to scrape an HP Printer Status page?

HP Recommended
HP Pavilion Notebook 15-bc407TX 2018
Microsoft Windows 10 (64-bit)

The status page looks like this:

 

http://h20000.www2.hp.com/bc/docs/support/SupportDocument/c00002742/c00004781.gif

 

You see the text underneath the Device Status title? That's what I want to scrape.

 

When navigated to, the status page is updated. I've pulled this from the page source:

<form id="deviceStatusPage"   method="post" action="this.LCDispatcher?nav=hp.DeviceStatus">

I can't seem to understand what it's actually DOING so it's hard to work out a good scraping strategy. I'm fairly sure the solution will be trivial but I can't seem to get started at all.

 

Should have said I've been playing with Mechanize and Beautiful Soup. The former seems like it'd achieve what I'd want, but I'm not sure how.

Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation