htproxy
Generate a script with your browser interaction.
Help
htproxy -h
Example
./src/htproxy -p 8888 -d init -H HOST -P PORT -u "(.*\.jpg$)|(.*\.gif$)|(.*\.css)"
Explanation:
The htproxy listen on port 8888 (-p option) and write the generated script into init (-d option). Instead of real host name it places the variable $HOST and $PORT (-H and -P option). The specified filter will ignore all urls containing jpg, gif, css (-u option)
Configuration File
./src/htproxy -d foo.htt -C my_config
my_config:
# htproxy sample configuration
Port 8888
Timeout 30000
HostVar HOST
PortVar PORT
HostPortVar FQND
CookieVarPrefix MY_COOKIE_
UrlBlacklist (.*\.png\;.*$)|(.*\.css\;.*$)|(.*\.ico\;.*$)|(.*\.js\;.*$)
ScriptHeader ./header
ScriptTrailer ./trailer