title: Using wget to download wordpress article
body: <p>I use <code>wget</code> to automatically download some websites, blog articles from the web.</p>
  
  <p>I pass some list with links (dynamic and changable one) to <code>wget</code> and it should download content from passed links. </p>
  
  <p>I saw a lot of examples, where users successfully downloading offline versions of sites with <code>wget</code>.</p>
  
  <p>But all this approaches doesn't work with Wordpress articles or any other sites, where js, css files are hosted on different domain.</p>
  
  <p>For example if the blog url contains wordpress.com, but css, js files are hosted somewhere on wp.com.</p>
  
  <p>Also if I have <code>http://www.example.com/2013/01/04/article-title/</code> I need to download only that article and no other, but with attribute 
      <code>--no-parent</code> 
  wget doesn't download JS and CSS at all because these files are at a higher level than the article path.</p>
  
  <p>Maybe somebody knows any alternative, because <code>wget</code> is good for single file downloading, not html?</p>
  
  <p>I tried:</p>
  
  <pre><code>wget -Ep --convert-links http://www.example.com/2013/01/04/article-title/
  </code></pre>
  
  <p>This returns only html, without js, css.</p>
  
  <p><strong>Update:</strong> 
  The question: is there any tool, framework for .net, that could download content of websites and has the same functionality as wget.</p>
  
  <p><strong>Update 2:</strong> 
  Ok, i found wget download are better (cleaner and less space requiring). Thanks for link to superuser.com, i found there the solution with wget:</p>
  
  <pre><code>wget -H -N -k -p --no-check-certificate -U "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a2) Gecko/20110613 Firefox/6.0a2" someurl --content-disposition
  </code></pre>