色彩时光 | 记录程序员世界的点点滴滴

django urllib cookie记录


在urllib新建请求时需配置request的cookie

详细见:

https://stackoverflow.com/questions/3334809/python-urllib2-how-to-send-cookie-with-urlopen-request
https://stackoverflow.com/questions/9445491/how-to-make-a-python-http-request-with-post-data-and-cookie/9445989


您可能也对下面文章感兴趣:

Write a Comment


* Content (required) 10~500s

分类

热门标签

友情链接