Linux2017. 4. 17. 16:39

세션 쿠키를 정보를 저장해서 하는 것도 있겠지만

[링크 : http://damduc.tistory.com/254]


       --load-cookies file

           Load cookies from file before the first HTTP retrieval.  file is a

           textual file in the format originally used by Netscape's

           cookies.txt file.


       --save-cookies file
           Save cookies to file before exiting.  This will not save cookies
           that have expired or that have no expiry time (so-called "session
           cookies"), but also see --keep-session-cookies.

       --keep-session-cookies

           When specified, causes --save-cookies to also save session cookies.

           Session cookies are normally not saved because they are meant to be

           kept in memory and forgotten when you exit the browser.  Saving

           them is useful on sites that require you to log in or to visit the

           home page before you can access some pages.  With this option,

           multiple Wget runs are considered a single browser session as far

           as the site is concerned.

           Since the cookie file format does not normally carry session

           cookies, Wget marks them with an expiry timestamp of 0.  Wget's

           --load-cookies recognizes those as session cookies, but it might

           confuse other browsers.  Also note that cookies so loaded will be

           treated as other session cookies, which means that if you want

           --save-cookies to preserve them again, you must use

           --keep-session-cookies again. 


로그인 정보 넘겨서 매번 하는것도 머 방법이니까?


       --user=user

       --password=password

           Specify the username user and password password for both FTP and

           HTTP file retrieval.  These parameters can be overridden using the

           --ftp-user and --ftp-password options for FTP connections and the

           --http-user and --http-password options for HTTP connections. 

[링크 : https://linux.die.net/man/1/wget]

'Linux' 카테고리의 다른 글

top VIRT?  (0) 2017.05.10
cpulimit 백그라운드 실행 이유  (0) 2017.05.10
원격지 mac address 얻기  (0) 2017.03.13
리눅스 쉘에서 시리얼 포트로 쓰기  (0) 2017.02.15
리눅스 파일 시간관련  (0) 2017.01.01
Posted by 구차니