1MECH-DUMP(1) User Contributed Perl Documentation MECH-DUMP(1)
2
3
4
6 mech-dump - Dumps information about a web page
7
9 version 2.17
10
12 mech-dump [options] [file|url]
13
14 Options:
15
16 --headers Dump HTTP response headers
17 --forms Dump table of forms (default action)
18 --links Dump table of links
19 --images Dump table of images
20 --all Dump all four of the above, in that order
21
22 --text Dumps the textual part of the web page
23
24 --user=user Set the username
25 --password=pass Set the password
26 --cookie-file=filename Set the filename to use for persistent cookies
27
28 --agent=agent Specify the UserAgent to pass
29 --agent-alias=alias
30 Specify the alias for the UserAgent to pass.
31 Pick one of:
32 * Windows IE 6
33 * Windows Mozilla
34 * Mac Safari
35 * Mac Mozilla
36 * Linux Mozilla
37 * Linux Konqueror
38
39 --absolute Show URLs as absolute, even if relative in the page
40 --help Show this message
41
42 The order of the options specified is relevant. Repeated options get
43 repeated dumps.
44
45 "mech-dump" will only work on HTML documents when used on remote URLs,
46 but will assume any local file you pass it is HTML. If it is not, there
47 won't be any usable results.
48
49 Proxy settings are specified through the environment (e.g.
50 "http_proxy=http://proxy.my.place/"). See LWP::UserAgent for details.
51
53 WWW::Mechanize
54
56 Andy Lester <andy at petdance.com>
57
59 This software is copyright (c) 2004 by Andy Lester.
60
61 This is free software; you can redistribute it and/or modify it under
62 the same terms as the Perl 5 programming language system itself.
63
64
65
66perl v5.38.0 2023-07-21 MECH-DUMP(1)