[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] I'm so sorry about [wget running with recursive and load-
From: |
c-aries |
Subject: |
Re: [Bug-wget] I'm so sorry about [wget running with recursive and load-cookie.. problem] |
Date: |
Thu, 22 Oct 2009 12:58:01 +0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
you teach me how to save and send cookies , thanks :)
On Thu, Oct 22, 2009 at 01:21:35PM +0900, 이병희 wrote:
> there were logout link at http://A/1.jsp <http://a/1.jsp>
> so can not get about http://A/2.jsp <http://a/2.jsp>
>
> I was using -R "*logout*" and problem was solved.
>
> Thanks.
>
> ---------- Forwarded message ----------
> From: 이병희 <address@hidden>
> Date: 2009/10/21
> Subject: wget running with recursive and load-cookie.. problem
> To: address@hidden
>
>
> Hi,
>
> I have a wget bug when crawling web site with recursively and cookies
>
> 1. to get cookie
> $ wget --post-data="id=userid&password=password"
> --save-cookies=care_cookie.txt --keep-session-cookies
> LOGIN_ACTION_URL<http://backrush.com:8080/quick/member/logOn.jsp>
> so, I got care_cookie.txt like beolow
> # HTTP cookie file.
> # Generated by Wget on 2009-10-21 10:22:26.
> # Edit at your own risk.
> AAA.com:8080 FALSE / FALSE 0 JSESSIONID
> 7A422068BA0493C55D74CA7D68D445EB
>
> 2. to get entire web site
> wget -r -x --load-cookies=care_cookie.txt --keep-session-cookies "
> http://A <http://a/>/1.jsp"
>
>
> first, under login needed url get successfully,
> http://A/1.jsp <http://a/1.jsp>
> but, upper url (http://A/1.jsp <http://a/1.jsp>) got other link (like below)
> and below link needed login
> http://A/2.jsp <http://a/2.jsp>
>
> .. second url(http://A/2.jsp <http://a/2.jsp>) can not adapted cookies.
> (Can't not get http://A/2.jsp <http://a/2.jsp>)
>
> What's problem, I don't know. (Used wget 1.11.4)
>
> Best regards.
--
Gmail签名:喜欢是淡淡的
"Marriage is like a cage; one sees the birds outside desperate to get in, and
those inside desperate to get out."
-- Montaigne