-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Unanswered Topics - Printers
- How to Mechanize to scrape an HP Printer Status page?

Create an account on the HP Community to personalize your profile and ask a question
Your account also allows you to connect with HP support faster, access a personal dashboard to manage all of your devices in one place, view warranty information, case status and more.

02-14-2019 04:00 AM
Product: HP Pavilion Notebook 15-bc407TX 2018
Operating System: 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.

† 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.
Didn't find what you were looking for?
Ask the community
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.