title: How to send parameters with a GET request?
body: <p>I'm currently trying to make a GET request to YouTube, to search for a video on it (using Python, as well as the <em>Requests</em> module). The following is what I'm doing to make a request:</p>
  
  <pre><code>r = requests.get("http://www.youtube.com/", 
          params={
              "search_query": "Test"
          }).text
  </code></pre>
  
  <p>However, when printing the request, it only seems to be getting the homepage of YouTube, no matter what I change the search query to.</p>
  
  <p>Would anyone know why this is occuring?</p>
  
  <p>Thanks</p>