저는 python과 beautifulsoup (둘 다 new!)를 사용하고 있으며 공급 업체 웹 사이트에 로그인하고 싶습니다.아름다운 수프를 사용하여 로그인하려면 페이지에 게시하십시오.
그래서 그들의 형태는 (간체)과 같습니다 쿠키를 추적 할 수있는 방법이
<form name=loginform action=/index.html method="post">
<input name=user>
<input name=pass">
</form>
있습니까?
아아, urllib도 쿠키를 저장합니까? – Blankman
http://www.nomadjourney.com/2009/03/automatic-site-login-using-python-urllib2/ 당신이하려는 일에 대한 좋은 예가 있습니다. – GWW
@Blankman : 계속 읽기. 예. urllib2는 쿠키를 처리합니다. –