title: Download multiple torrents from array of magnet links
body: <p>I'm trying to use javascript to iterate over an array of "magnet:.." links and download them iteratively.</p>
  
  <p>I am using an iframe to download the link this way:</p>
  
  <p>the HTML code:    </p>
  
  <pre><code>&lt;button ng-click="downloadSelected()"&gt;Get All Selected&lt;/button&gt;
  .
  .
  &lt;iframe id='downloader_iframe'&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>Inside the controller:</p>
  
  <pre><code>function downloadSelected(){
      for (var i=0; i&lt;$scope.magnets.length; i++){
          document.getElementById('downloader_iframe').src = $scope.magnets[i];
      }
  }
  </code></pre>
  
  <p>The problem is that the action is happening only for the first link in the array while the rest of them ignored completely.</p>
  
  <p>Is there any way to do it?</p>