title: Download web page and remove content except for one html table
body: <p>I am given a large html report from another department quite regularly that requires a fair amount of manual work to edit into a format that is required.</p>
  <p>I'd like to work a bit smarter. I can download the page via:</p>
  <pre><code>wget -qO- &lt;https://the_page.html&gt;
  </code></pre>
  <p>However I just want to carve out a table that begins:</p>
  <pre><code>&lt;!-- START Daily Keystroke
  </code></pre>
  <p>It goes on and on for many lines of html and always ends:</p>
  <pre><code>&lt;/table&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Before the next load of data is begun. I need everything in between these patterns in one chunk of text /file.</p>
  <p>I played around with sed and awk which I am not really familiar with but it seems without knowing how many lines are going to be in the file each time these tools are not appropriate for this task. It seems something that can work more on specific patterns is appropriate.</p>
  <p>That being the case I can install other utilities potentially. If anyone has any experience of something that might work?</p>