/usr/bin/scrappy is in libscrappy-perl 0.94112090-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #!/usr/bin/env perl
use strict;
use warnings;
use File::Basename 'dirname';
use File::Spec;
=head1 NAME
scrappy - The Scrappy Command-Line Utility
=head1 SYNOPSIS
$ scrappy
$ scrappy ...
$ scrappy generate project MyApp
For fun, download a web page using the Scrappy Action Download, .e.g ....
$ scrappy download page http://search.cpan.org/
... easy huh, checkout some of the existing actions or create your own with
Scrappy, your All Powerful Web Spidering, Scraping, Creeping Crawling Framework.
=head1 DESCRIPTION
List and run L<Scrappy> actions to build web crawlers, generate boiler-plate code
and more. Install actions from the L<Scrappy::Action> namespace.
=cut
# is Scrappy installed
eval 'use Scrappy::Action';
die <<EOF if $@;
It looks like you don't have the Scrappy Framework installed.
Please visit http://search.cpan.org/dist/Scrappy/ for detailed installation instructions.
EOF
# Start the command system
Scrappy::Action->new->execute(@ARGV);
1;
|