title: Downloading Torrent with Node.JS
body: <p>I was wondering if anyone had an example of how to download a torrent using NodeJS? Essentially, I have an RSS Feed of torrents that I iterate through and grab the torrent file url, then would like to initiate a download of that torrent on the server.</p>
  
  <p>I've parsed and looped through the RSS just fine, however I've tried a few npm packages but they've either crashed or were just unstable. If anyone has any suggestions, examples, anything... I would greatly appreciate it. Thanks.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>router.get('/', function(req, res) {
    var options = {};
    parser.parseURL('rss feed here', options, function(err, articles) {
      var i = 0;
      var torrent;
      for (var title in articles.items) {
        console.log(articles.items[i]['url']);
        //download torrent here
        i++;
      }
    });
  });</code></pre>
  </div>
  </div>
  </p>