How to extract heading(H1) tag only using Agenty

Scraping heading(h1, h2...) tags from web pages is most common use of website scraping and thousands of users use Agenty to extract heading, title and meta tags from websites for SEO purpose or competitiveness research to find better content. See this example to learn how to extract heading tags.

HTML Source

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <title>H1 tag extraction demo</title>
	<div class="container">
	<h1 itemprop="name">Buy Success in Interview Book Online at Low Prices</h1>

Expected Output

Buy Success in Interview Book Online at Low Prices

Heading extraction from website

In this example, I could have been used h1 only. But I used h1[itemprop="name"] to ignore any other h1 tag if  there by chance on any page.