Thread: HTTP-Recorder emonk
Any of you guys used HTTP-Recorder? I've been trying to get it to work for weeks, as the majority of the things I write a website interaction scripts of one type or another, but I can't find any version of it that works, and the SVN is borked.
So my question is: Does anyone know a way to make ANY version of HTTP-Recorder work (including SSL)? Failing that does anyone know of an alternative (especially one that spit's out PHPcurl code instead, but whatever)?dirk
Hi emonk,
just tested it and installed HTTP:roxy and HTTP::Recorder via: perl-MCPAN -e shellinstall HTTP:roxy install HTTP::Recorder Took a while because there are lots of dependencies. Then I started a simple test script which I got here: http://www. perl.com/pub/a/2004/06/04/recorder.htmlUse It with a Web Proxy It was running fine and recorded the session. nop_90
I find it easier to just look at the forms and use
perlmechanize now days.I think you are better off to use liveheader plugin for FF (I think IE has a similar type plugin) Then it not too difficult to make a simple parse that parses the liveheaders and then makes proper fields to use with LWP. emonk
quote author=dirk link=topic=655.msg4455#msg4455 date=1198113197 Hi emonk, just tested it and installed HTTP:roxy and HTTP::Recorder via: perl-MCPAN -e shellinstall HTTP:roxy install HTTP::Recorder Took a while because there are lots of dependencies. Then I started a simple test script which I got here: http://www. perl.com/pub/a/2004/06/04/recorder.htmlUse It with a Web Proxy It was running fine and recorded the session. Which version did you use? Everyone all over the inte rnethas been complaining about the "Can't locate object method "query_param."" error, and the only fix involves the SVN code, but the SVN repository is down.The only version I could find without that error, wouldn't work on SSL sites. I've really tried everything that I could think of, and googled my brains out, but to no avail. I was really just mostly hoping that either someone had the SVN code lying around, or knew of an alternative that did something similar like the script that nop_90 describes. I guess I'll just have to code something myself. dirk
This is the version I have used:
package HTTP::Recorder; our $VERSION = "0.05"; Date: 18 Aug 2005 Maybe the following fix will help: http://lists.fsck.com/pipermail/http-recorder/2007-October/000083.html dimitry12
I find it easier to just use
perlwsp now days. (http://www.research.att.com/sw/tools/wsp/)emonk
quote author=dimitry12 link=topic=655.msg4466#msg4466 date=1198216617 I find it easier to just use perlwsp now days. (http://www.research.att.com/sw/tools/wsp/)Thanks mayne. I'll give it a go. Bompa
quote author=dimitry12 link=topic=655.msg4466#msg4466 date=1198216617 I find it easier to just use perlwsp now days. (http://www.research.att.com/sw/tools/wsp/)What does that do that liveheaders doesn't do? Or is it just easier as you said? Live headers generates every POST and GET in a file that I can save to disk with one click dimitry12
It generates the
Perlcode that replicates that specific browser behavior.Though it's not the most important point. It's a simple proxy in fact so you don't need to use FF or browser - just a convenient tool that does its job well. |
Thread Categories
Best of The Cache Home | ||
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads