èªè¨¼ä»ãã®ãµã¤ãã«ãã°ã¤ã³ããç¶æ ãåç¾ããªããwgetã§ã¢ã¯ã»ã¹ããã¨ãã«ãã»ãã·ã§ã³ãã¼ã¨ãã¦åºåãããCookieãä¿åãã¦ãã¨ã§ä½¿ããããã«ããæ¹æ³ã --save-cookies=file åºåãããCookieãä¿åããããæéåãã ã£ããexpiresããªãCookieã¯ä¿åãããªãã®ã§ã次ã®ãªãã·ã§ã³ãæå®ããã --keep-session-cookies ã³ã¤ããä»ãã¦ãããã¨ã§ãä¸è¨ã®Cookieãä¿åã§ããã login.txtã«ID/Passwordãªã©èªè¨¼æã«POSTããæ å ±ãå ¥ãã¦ãããã¾ãã¯èªè¨¼ééããã¦Cookieãåå¾ããã $ wget -O - --post-file=login.txt --save-cookies=cookie.txt --keep-session-cookies http://www.example.com/login ãã£ãã
{{#tags}}- {{label}}
{{/tags}}