__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/perl
# Extract all plain text from an HTML file
use strict;
use warnings;
use Encode ();
use HTML::Parser ();
my %inside;
sub tag {
my ($tag, $num) = @_;
$inside{$tag} += $num;
print " "; # not for all tags
}
sub text {
return if $inside{script} || $inside{style};
print encode('utf8', $_[0]);
}
HTML::Parser->new(
api_version => 3,
handlers => [
start => [\&tag, "tagname, '+1'"],
end => [\&tag, "tagname, '-1'"],
text => [\&text, "dtext"],
],
marked_sections => 1,
)->parse_file(shift)
|| die "Can't open file: $!\n";
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| hanchors | File | 1.17 KB | 0755 |
|
| hbody | File | 729 B | 0755 |
|
| hdisable | File | 740 B | 0755 |
|
| hdump | File | 708 B | 0755 |
|
| hform | File | 2.44 KB | 0755 |
|
| hlc | File | 717 B | 0755 |
|
| hrefsub | File | 3 KB | 0755 |
|
| hstrip | File | 1.73 KB | 0755 |
|
| htext | File | 612 B | 0755 |
|
| htextsub | File | 936 B | 0755 |
|
| htitle | File | 461 B | 0755 |
|