title: How to download a file from a link which is javascript enabled, in Python?
body: <p>I have a list of weblinks in a list. I want to go to every link in the list and download a file from the opened website which is another link on the opened page and is javascript enabled!</p>
  
  <p>The list of weblinks are like this:</p>
  
  <pre><code>['"http://www.energychoice.ohio.gov/ApplesToApplesComparision.aspx?Category=Electric&amp;TerritoryId=2&amp;RateCode=1"', ] 
  </code></pre>
  
  <p>and more links similar to the shown are in the list. </p>
  
  <p>I need to go to every link which will open a website and that would have the download file "Export offers to XML". This link is javascript enabled.</p>
  
  <p>I am a newbie in Python. I am using python 2.7 on ubuntu.</p>
  
  <p>Any help would be appreciated! </p>