Re: It works in Firefox, why not in $mech?

2006-07-10 Thread Philippe "BooK" Bruhat
ensions, just edit your browser's proxy settings. -- Philippe "BooK" Bruhat When you deal in weapons, there are no winners... only losers. (Moral from Groo The Wanderer #31 (Epic))

Re: proxy authentication and little patch

2006-03-30 Thread Philippe 'BooK' Bruhat
esponse: OK Vous Etes Perdu ?Perdu sur l'Internet ?Pas de panique, on va vous aider* <- vous êtes ici -- Philippe "BooK" Bruhat Remember that what is good for the goose may not be good for the gender. (Moral from Groo The Wanderer #4 (Epic))

Re: Display progress or partial results in browser window

2005-11-27 Thread Philippe &#x27;BooK&#x27; Bruhat
ts. > > I can launch the agent and then launch another script in a browser that > reads periodically from a file written by the agent. But this seems like > an awkward solution. You could also use the callback argument to LWP::UserAgent's request() method to track progress. --

Re: Enabling Redirects

2005-11-23 Thread Philippe &#x27;BooK&#x27; Bruhat
ave to emulate the redirection yourself. -- Philippe "BooK" Bruhat You can always buy another house but you cannot put a price on a home. (Moral from Groo The Wanderer #63 (Epic))

Re: Secure website login tutorials?

2005-08-18 Thread Philippe &#x27;BooK&#x27; Bruhat
TP::Proxy (found under eg/logger.pl in the HTTP::Proxy distribution), which prints out interesting headers (Cookie, Location, etc) and form fields. It's usually enough for finding out what the web robot needs to send to the server. -- Philippe "BooK" Bruhat Everyone's life seems easier from the outside. (Moral from Groo The Wanderer #45 (Epic))

Re: Urgent Help needed with Post method file upload

2005-08-13 Thread Philippe &#x27;BooK&#x27; Bruhat
quest_params => $task_add_postkey, datafile => [ undef, > 'datafile', Content-Type => 'application/octet-stream', Content => > $filedata ] ]); > > > When I run the script, I get: > > Bareword "Content" not allowed while "strict

Re: Debugging Tip for the mech FAQ

2005-08-01 Thread Philippe &#x27;BooK&#x27; Bruhat
requests for data with a text/* Content-Type. -- Philippe "BooK" Bruhat A wish is only as good as the wisher and what he can achieve. (Moral from Groo The Wanderer #35 (Epic)) #!/usr/bin/perl -w use strict; use HTTP::Proxy; use HTTP::Proxy::HeaderFilter::simple

Re: Mechanize and LWP::RobotUA

2004-03-14 Thread Philippe &#x27;BooK&#x27; Bruhat
# by default (nice => 1) the bot would be a subclass of LWP::RobotUA my bot = WWW::Mechanize->new( nice => 0 );# don't be nice -- Philippe "BooK" Bruhat The emptier the brain is of facts, the easier it is to fill with nonsense. (Moral from Groo The Wanderer #89 (Epic))

Re: HTTP traffic? (use LWP::Debug qw(conns); not working)

2004-01-25 Thread Philippe &#x27;BooK&#x27; Bruhat
lient-* headers added by its own LWP::UA. Oops. So I guess you cannot (yet) check those certificates in a HTTP::Proxy filter (I suppose I'll fix this in next version, by adding a client_headers() method). -- Philippe "BooK" Bruhat The best of intentions must still have di

Re: HTTP traffic? (use LWP::Debug qw(conns); not working)

2004-01-25 Thread Philippe &#x27;BooK&#x27; Bruhat
o point to your HTTP::Proxy proxy, use env_proxy with your LWP::UA object. LWP::UA does a GET https://www.example.com/ to the proxy, which will fetch the data with SSL, and return it in a plain (cleartext) HTTP session. So that you don't have to change your debugging habits when asking for https U

Re: HTTPS_PROXY and LWP

2004-01-24 Thread Philippe &#x27;BooK&#x27; Bruhat
Le samedi 24 janvier 2004 à 18:31, Andreas König écrivait: > >>>>> On Thu, 22 Jan 2004 01:41:02 +0100, [EMAIL PROTECTED] (Philippe 'BooK' Bruhat) > >>>>> said: > > > HTTPS_PROXY=http://localhost:8080/ lwp-request https://www.example.com/ &

Re: unsubscribing

2004-01-23 Thread Philippe &#x27;BooK&#x27; Bruhat
;mailto:[EMAIL PROTECTED]> list-unsubscribe: <mailto:[EMAIL PROTECTED]> list-post: <mailto:[EMAIL PROTECTED]> -- Philippe "BooK" Bruhat We laugh at stupidity because the alternative is to cry over it. (Moral from Groo The Wanderer #71 (Epic))

Re: Different outcomes with same request

2004-01-23 Thread Philippe &#x27;BooK&#x27; Bruhat
ail. > Any help would greatly be appreciated. Maybe the transaction is put in the page by some javascript (document.print?). Your browser saves the resulting page, while WWW::Mechanize works on what the server sends. -- Philippe "BooK" Bruhat Friendship is

HTTPS_PROXY and LWP

2004-01-21 Thread Philippe &#x27;BooK&#x27; Bruhat
wn by ngrep -i lo 'GET|CONNECT' port 8080 ... After much browsing the docs and grepping the code, I still haven't found out how can I make LWP::userAgent actually do a CONNECT through the proxy. Does anybody know? Or maybe it can't? -- Philippe "BooK" Bruhat If yo

Re: Potential bug in HTTP::Headers

2003-12-02 Thread Philippe &#x27;BooK&#x27; Bruhat
opy them to either $hop or $headers depending of hits in this h2h > hash. I followed you advice, and it works perfectly. Thanks a lot. -- Philippe "BooK" Bruhat Sometimes a setback can be the greatest form of progress. (Moral from Groo #6 (Image))

Re: Potential bug in HTTP::Headers

2003-11-28 Thread Philippe &#x27;BooK&#x27; Bruhat
Le vendredi 28 novembre 2003 à 03:00, Gisle Aas écrivait: > "Philippe 'BooK' Bruhat" <[EMAIL PROTECTED]> writes: > > > So, in the end, I'm just pointing at this "problem", asking if it's a > > bug or not. > > I don't r

Potential bug in HTTP::Headers

2003-11-28 Thread Philippe &#x27;BooK&#x27; Bruhat
:Headers object was updated). I think it might be volontary, because of the following lines in the documentation: in practice there are cases like old-style Netscape cookies (see HTTP::Cookies) where "," is used as part of the syntax of a single field value. It might not b

Re: Chaining proxy servers

2003-09-20 Thread Philippe &#x27;BooK&#x27; Bruhat
ol does is that it does a CONNECT request to the first proxy, asking to be connected to the second proxy, and then again, until it actually does a GET request. That's only useful when you want real anonymity through open proxies. -- Philippe "BooK" Bru

Testing connect-tunnel with NTLM

2003-08-15 Thread Philippe &#x27;BooK&#x27; Bruhat
meone with access to a proxy that does NTLM authentication could set up an account for me that I could use for my tests. I'll probably only use it from a single IP. And I'm no H4><0r. Thanks a lot in advance! -- Philippe "BooK" Bruhat E

Re: Net::HTTP does not use compressed transfers when it should

2003-03-25 Thread Philippe &#x27;BooK&#x27; Bruhat
ib, what a surprise), but LWP seems to use its own LWP::Protocol::* modules. I suppose that means that LWP does not supports deflate/gzip? -- Philippe "BooK" Bruhat When you run from your problem, you make it that much harder for good fortune to catch you, as well. (Moral from Groo The Wanderer #14 (Epic))

Re: How to down load a page from web site which is expecting a browser supporting Frame

2003-02-12 Thread Philippe &#x27;BooK&#x27; Bruhat
1)); local $PageURL = 'http://www.ingrammicro.com.au'; $myUserAgent->get($PageURL); $myUserAgent->follow(0); # this is the first frame print $myUserAgent->content; -- Philippe "BooK" Bruhat The faster the climb, the swifter the fall. (Moral from Groo The Wanderer #87 (Epic))

Re: Logging web chat contents

2003-01-24 Thread Philippe &#x27;BooK&#x27; Bruhat
s visited. You could then go back and > peruse at your leisure. I guess so. :-) -- Philippe "BooK" Bruhat The faster the climb, the swifter the fall. (Moral from Groo The Wanderer #87 (Epic))