title: tcpdump to only print urls
body: <p>Is there a way to do</p>
  
  <pre><code>tcpdump -i lo -A 
  </code></pre>
  
  <p>and have it print all urls, any connections made?</p>
  
  <p>I have done:</p>
  
  <pre><code>sudo tcpdump -i lo -A | grep Host: 
  </code></pre>
  
  <p>which works great. But I was wondering if there are options to do the same in tcpdump</p>
  
  <p>Finally, is there a way to do this in python without using a sys command or Popen/subprocess</p>