title: Extract cookies from open Safari session in Python
body: <p>Trying to follow the example in this one:</p>
  
  <p><a href="https://stackoverflow.com/questions/20427996/python-urllib2-login-to-minecraft-net">Python urllib2 login to minecraft.net</a></p>
  
  <p>I'm trying to get files from this website and it's a tedious process of clicking to get to each file.  I could easily use urllib2 to webscrape but, of course, you have to be logged in to this website to get the data.  I tried doing one of the login type approaches in Python but I can't get it to work.  </p>
  
  <p>My other option is to export the cookies from Safari session so I can run my webscraping scripts to get the data I need. </p>
  
  <p><strong>Does anyone know how to export cookies from Safari session to Python for access to website data?</strong> </p>