.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "MECH-DUMP 1" .TH MECH-DUMP 1 "2023-04-27" "perl v5.16.3" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" mech\-dump \- Dumps information about a web page .SH "VERSION" .IX Header "VERSION" version 2.17 .SH "SYNOPSIS" .IX Header "SYNOPSIS" mech-dump [options] [file|url] .PP Options: .PP .Vb 5 \& \-\-headers Dump HTTP response headers \& \-\-forms Dump table of forms (default action) \& \-\-links Dump table of links \& \-\-images Dump table of images \& \-\-all Dump all four of the above, in that order \& \& \-\-text Dumps the textual part of the web page \& \& \-\-user=user Set the username \& \-\-password=pass Set the password \& \-\-cookie\-file=filename Set the filename to use for persistent cookies \& \& \-\-agent=agent Specify the UserAgent to pass \& \-\-agent\-alias=alias \& Specify the alias for the UserAgent to pass. \& Pick one of: \& * Windows IE 6 \& * Windows Mozilla \& * Mac Safari \& * Mac Mozilla \& * Linux Mozilla \& * Linux Konqueror \& \& \-\-absolute Show URLs as absolute, even if relative in the page \& \-\-help Show this message .Ve .PP The order of the options specified is relevant. Repeated options get repeated dumps. .PP \&\f(CW\*(C`mech\-dump\*(C'\fR will only work on \s-1HTML\s0 documents when used on remote URLs, but will assume any local file you pass it is \s-1HTML.\s0 If it is not, there won't be any usable results. .PP Proxy settings are specified through the environment (e.g. \f(CW\*(C`http_proxy=http://proxy.my.place/\*(C'\fR). See LWP::UserAgent for details. .SH "SEE ALSO" .IX Header "SEE ALSO" WWW::Mechanize .SH "AUTHOR" .IX Header "AUTHOR" Andy Lester .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2004 by Andy Lester. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.