title: Using Chrome's cookies in Python-Requests
body: <p>I'm trying to log in to the <a href="http://www.steampowered.com" rel="noreferrer">http://www.steampowered.com</a> website using the cookies I've got from my Chrome session. </p>
  
  <p>Once I've grabbed all the <code>cookie</code> table's data, using the command <code>SELECT * FROM cookie WHERE host_key LIKE '%steam%'</code> and the column names: <code>PRAGMA table_info(cookie)</code> and sorted through all the data with a list comprehension, I don't know how to pass it all to <code>requests</code> so that the cookies become usable.</p>
  
  <p>The <code>request</code>'s <a href="http://docs.python-requests.org/en/latest/user/quickstart/#cookies" rel="noreferrer">docs</a> say you need to pass in a dict, ie <code>cookies={'cookies':'are_working'}</code> but then some of the keys <code>name</code>s overwrite each other, since a few of the <code>name</code>s are : <code>Steam_Language</code>, though they're different hosts.</p>
  
  <p>edit: Just found <a href="https://stackoverflow.com/questions/2169281/how-to-add-cookie-to-existing-cookielib-cookiejar-instance-in-python">How to add cookie to existing cookielib CookieJar instance in Python?</a> which might help me out, but I don't know how to format the Chrome cookies for cookielib</p>
  
  <p><strong>My question is:</strong> How do I pass several different sites worth of cookies to <code>requests</code>?</p>