bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] I'm so sorry about [wget running with recursive and load-cook


From: 이병희
Subject: [Bug-wget] I'm so sorry about [wget running with recursive and load-cookie.. problem]
Date: Thu, 22 Oct 2009 13:21:35 +0900

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]