title: Pretend Firefox instead of Phantom.js
body: <p>When I try to scrap <a href="http://www.oddsportal.com/baseball/usa/mlb/results/page/" rel="noreferrer">this site</a> with Phantomjs, by default, Phantomjs send the following headers to server:</p>
  
  <pre><code>"name":"User-Agent",
  "value":"Mozilla/5.0 (Unknown; Linux i686) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.1 Safari/534.34"}
  </code></pre>
  
  <p>And I get an <code>status 405 "Not Allowed"</code> response.</p>
  
  <p>I read in the <strong>Phantomjs API Reference</strong> that in order to imitate a request coming from some other browser, I should change my User-Agent value. On Wikipedia I found the value I should use for pretending to be <strong>Firefox</strong> under <strong>Ubuntu</strong>:</p>
  
  <pre><code>'name': 'User-Agent',
  'value': 'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:16.0) Gecko/20120815 Firefox/16.0'
  </code></pre>
  
  <p>In what part of Phantomjs should I put this properties? Where should I insert them - inside <strong>page.open</strong>, or inside <strong>page.evaluate</strong>, or at the top of it?</p>