title: Scraping with changing xpaths: Setting text pattern as ID?
body: <p>I am trying to scrape the same info from a number of websites. The problem is that the number of elements changes among the sites. Which makes it impossible to use xpath or full xpath.
  However, one line of text input is always the same; from which I want the number to be scraped</p>
  <pre><code>&lt;div class=&quot;txt-block&quot;&gt;
  &lt;h4 class=&quot;inline&quot;&gt;Points for this match&lt;/h4&gt; 33  &lt;/div&gt;
  </code></pre>
  <p>How can I use &quot;Points for this match&quot; as ID in order to scrape &quot;33&quot;</p>
  <p>Thanks for any leads!</p>