擅长:python、mysql、java
<p>我创建了一个从Firefox加载cookies的模块,可以在这里找到:<a href="https://bitbucket.org/richardpenman/browser_cookie/" rel="nofollow">https://bitbucket.org/richardpenman/browser_cookie/</a></p>
<p>用法示例:</p>
<pre><code>import requests
import browser_cookie
cj = browser_cookie.firefox()
r = requests.get(url, cookies=cj)
</code></pre>