|
From: Joe R. J. <jj...@cl...> - 2002-09-06 19:13:56
|
On Fri, 6 Sep 2002, Gilles Detillieux wrote: > Date: Fri, 6 Sep 2002 13:50:49 -0500 (CDT) > From: Gilles Detillieux <gr...@sc...> > To: ad...@fr... > Cc: htd...@li..., htd...@li... > Subject: [htdig-dev] Re: [htdig] Using cookies > > According to Adam Brown: > > The site I am indexing uses cookies for authorisation. I am guessing I will > > need to write a wrapper to htdig to log in to the site with the appropriate > > user name and password and then store the cookie data in Htdig somewhere so > > that it is authorised to browse the site. > > > > How do I do this or could someone please point me to the appropriate > > documentation. > > I don't know if you noticed, but Gabriele posted a patch to 3.1.6 > yesterday that adds cookie support. It hasn't made it onto the patch > archives yet, but no doubt it will soon (right, Joe?), so you can look > for it there if you can't find it on the htdig-dev mailing list archives. > It seems to be a backport of the cookie support in 3.2.0b4. So, whether > you use a recent snapshot of 3.2.0b4, or use 3.1.6 with Gabriele's patch, > you should be able to get cookie support going with htdig. > > How you'd use that for authorisation may be another matter, though. > I don't know if Gabriele's cookie support has a way of pre-loading cookies > from another browser into htdig's cookie jar. Care to comment, Gabriele? > (Or anyone else for that matter?) Thank you Gilles for the reminder. I saved it yesterday to cookies.gz.0 file, but then I got caught up with a flood of work, and forgot to move it to the patch site;( It's now in: ftp://ftp.ccsf.org/htdig-patches/3.1.6/cookies.gz.0 Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... |