How to get the html value

How to download the values shown in the pictures and display them?

Please post the actual HTML code that you show in screen shot using a forum Code Block.

<div class="_1yyhi">
	<div class="_1jtqp _11tew _3kk7b _3zk6p _y5n0l">
		<span class="_1h7wt">1</span>
	<div class="_1jtqp _11tew _3kk7b _11avb _y5n0l"><p class="_1sw3b _13ieq _1h7wt">343,00&nbsp;zł</p>
	<div class="_1jtqp _11tew _3kk7b _11avb _y5n0l"><span class="_1h7wt">-</span>
	<div class="_1jtqp _11tew _3kk7b _3zk6p _y5n0l"><span class="_1h7wt">0</span>
	<div class="_1jtqp _11tew _3kk7b _3zk6p _y5n0l"><span class="_1h7wt">0</span>
	<div class="_kpf8j _1jtqp _3kk7b _11avb"><div>
		<div class="_1yyhi">
			<div class="_1jtqp _3kk7b _vnd3k">
				<div class="m-flex-column"><span class="_1h7wt">aktywna </span>

@kamilek, based on the above HTML, this should do the trick:

Example Output


Below is just an example written in response to your request. You will need to use as an example and/or change to meet your workflow automation needs.

Please let us know if it meets your needs.


MACRO:   Extract Data from Web Page and Display [Example]

-~~~ VER: 1.0    2020-09-04 ~~~
Requires: KM 8.2.4+   macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))

DOWNLOAD Macro File:

Extract Data from Web Page and Display [Example].kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.




  • Extract Data from Web Page and Display


  1. First, make sure you have followed instructions in the Macro Setup below.
  2. Open the Web Page of interest
  3. Trigger this macro.


  • Carefully review the Release Notes and the Macro Actions
    • Make sure you understand what the Macro will do.
    • You are responsible for running the Macro, not me. ??

NOTICE: This macro/script is just an Example

  • It is provided only for educational purposes, and may not be suitable for any specific purpose.
  • It has had very limited testing.
  • You need to test further before using in a production environment.
  • It does not have extensive error checking/handling.
  • It may not be complete. It is provided as an example to show you one approach to solving a problem.


  1. KM 8.0.2+
  2. macOS 10.11.6 (El Capitan)
  • KM 8 Requires Yosemite or later, so this macro will probably run on Yosemite, but I make no guarantees. :wink: