title: Programmatically download embbeded dynamic-generated PDFs
body: <p>I know the question may be old but I'm doing it again because I didn't find any satisfactory solution.</p>
  
  <p>I have to download embbeded pdf files from a remote webserver. The problem is that the embbed src is not the direct path to the file, but instead something like this:</p>
  
  <pre><code>&lt;embed width="100%" height="100%" name="plugin" src="http://www.example.com/getPdfPage.do?page=10" type="application/pdf" mytubeprocessed="Y"&gt;
  </code></pre>
  
  <p>So basically you have to pass the page as argument and the .do file returns the pdf embedded
  My question is: how do I programatically download the PDFs without having to click the Reader's "Floppy Disk" icon? If its possible...</p>
  
  <p>EDIT: I can use PHP and/or Python </p>