def login(self):
if self._session is None:<EOL><INDENT>self._session = requests.session()<EOL>self._session.headers.update({'<STR_LIT>': str(UserAgent().random)})<EOL><DEDENT>return self._post_login_page()<EOL>
Set http session.