title: Allow Wget to download only application type of PDF
body: <p>I am using wget on Window machine. i want only pdf file. if application/type is pdf . allow only to download</p>
  
  <p>I am using this command</p>
  
  <pre><code>wget  --accept pdf www.google.com
  </code></pre>
  
  <p>it is downloading index page of google. </p>
  
  <blockquote>
    <p>Length: 19404 (19K) [text/html] Saving to:
    `index.html@gfe_rd=cr&amp;ei=5O8jVLycNuvA8gftoYGIBg'</p>
  </blockquote>
  
  <p>i dont want to allow . if there is only pdf. </p>
  
  <p>Any idea </p>
  
  <p>Thanks </p>