I want to scrape all pages of a website and get the `meta tag description` like

`<meta name="description" content="I want to get this description of this meta tag" />`

similarly for all other pages I want to get their individual `meta description`

Here is my code

```
add_action('woocommerce_before_single_product', 'my_function_get_description');

function my_function_get_description($url) {
   $the_html = file_get_contents('https://tipodense.dk/');
   print_r($the_html)
}

```

This`print_r($the_html)` gives me the whole website, I don't know how to get the meta description of each page

Kindly guide me thanks