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))
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))
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.
--
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))
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))
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
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
# 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))
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
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
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/
&
;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))
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
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
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))
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
: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
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
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
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))
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))
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))
22 matches
Mail list logo