title: Curl request in python
body: <p>I'm a newbie to python program. I want to get trending topics in google trends. How do i make this curl request from python</p>
  
  <pre><code>curl --data "ajax=1&amp;htd=20131111&amp;pn=p1&amp;htv=l" http://www.google.com/trends/hottrends/hotItems
  </code></pre>
  
  <p>I tried following code</p>
  
  <pre><code>param = {"data" :"ajax=1&amp;htd=20131111&amp;pn=p1&amp;htv=l"} 
  value = urllib.urlencode(param)
  
  req = urllib2.Request("https://www.google.co.in/trends/hottrends/hotItems", value)
  response = urllib2.urlopen(req)
  result = response.read()
  print result
  </code></pre>
  
  <p>But it is not returning expected values, which is the current Google trends.
  Any help would be appreciated. 
  Thanks. </p>