Jul-11-2018, 03:02 PM
Hello everyone
I am currently writing a script to output the current progress from my 3D printer. I use Octoprint to control the printer remotely. I want to take a picture of the webcam and wanted to access the URL of the webcam. The page is structured as follows:
Does anyone have an idea where I can start or what I could look at?
Thank you and greetings
Konff
I am currently writing a script to output the current progress from my 3D printer. I use Octoprint to control the printer remotely. I want to take a picture of the webcam and wanted to access the URL of the webcam. The page is structured as follows:
Output:<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=0.1"><title>webcam (640×480)</title>
</head>
<body style="margin: 0px; background: #0e0e0e;">
<img style="-webkit-user-select: none;" src="http://octopi/webcam/?action=snapshot">
</body>
</html>
My question is, how can I download the img element? I already tried google and only found solutions with absolute URLS. Does anyone have an idea where I can start or what I could look at?
Thank you and greetings
Konff