擅长:python、mysql、java
<p>您不需要bs4来实现此目的,因为您只需要来自cookies的信息。(只有在最终需要从html代码中提取内容时才使用bs4)。在</p>
<p>对于cookies,我将使用python请求及其对http会话的支持:<a href="http://docs.python-requests.org/en/latest/user/advanced/" rel="nofollow">http://docs.python-requests.org/en/latest/user/advanced/</a></p>