title: Parsing difficult strings in CSV with python
body: <p>I'm building a parser for my Firefox history CSV. It includes lines like this one:</p>
  
  <pre><code>"2017-07-12 09:43:31","https://english.stackexchange.com/questions/26498/should-there-always-be-a-comma-after-therefore-however-etc","punctuation - Should there always be a comma after ""therefore","However" etc.? - English Language &amp; Usage Stack Exchange"
  </code></pre>
  
  <p>Is there an efficient way to deal with this (e.g. with some tools matching templates)? In theory, it should be possible to parse since it is always <code>"$DATE","$URL","$everything_else"</code> but I cannot use normal CSV parsers (many commas in lines) and my script matching only '","' also fails for these cases.</p>
  
  <p>Additionally, the third field doesn't always exist and then the format is <code>"$DATE","$URL"</code>. But I think that's a minor problem then.</p>