title: How can I extract the href with XPath?
body: <p>The HTML structure is this:</p>
  
  <pre><code>&lt;div class="image"&gt;
    &lt;a target="_top" href="someurl"&gt;
      &lt;img class="_verticallyaligned" src="cdn.translte" alt=""&gt;
    &lt;/a&gt;
    &lt;button class="dui-button -icon" data-shop-id="343170" data-id="14145140"&gt;
      &lt;i class="dui-icon -favorite"&gt;&lt;/i&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The code to extract the text:</p>
  
  <pre><code>buyers = doc.xpath("//div[@class='image']/a[0]/text()")
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>[] 
  </code></pre>
  
  <p>What did I do wrong?</p>