title: How can I scrape an HTML table to CSV?
body: <h1>The Problem</h1>
  <p>I use a tool at work that lets me do queries and get back HTML tables of info. I do not have any kind of back-end access to it.</p>
  <p>A lot of this info would be much more useful if I could put it into a spreadsheet for sorting, averaging, etc. <strong>How can I screen-scrape this data to a CSV file?</strong></p>
  <h2>My First Idea</h2>
  <p>Since I know jQuery, I thought I might use it to strip out the table formatting onscreen, insert commas and line breaks, and just copy the whole mess into notepad and save as a CSV. <strong>Any better ideas?</strong></p>
  <h1>The Solution</h1>
  <p>Yes, folks, it really was as easy as copying and pasting. Don't I feel silly.</p>
  <p>Specifically, when I pasted into the spreadsheet, I had to select &quot;Paste Special&quot; and choose the format &quot;text.&quot; Otherwise it tried to paste everything into a single cell, even if I highlighted the whole spreadsheet.</p>