fetch_story - fetch a story from the internet
version 0.14
fetch_story [ --help | --manpage | --list ]
fetch_story [ --basename string ] [ --toc | --epub ] [ --yaml ] url
This fetches a story from the net (including multi-part stories) tidies up the HTML, and saves it. If a story is deduced to be a multi-chapter story, all chapters of the story are downloaded, and saved to separate files.
In order to tidy the HTML and parse the pages for data about the story, site-specific "Fetcher" plugins have been written for various sites such as fanfiction.net, LiveJournal and others. These plugins can scrape meta-information about the story from the given page, including the URLs of all the chapters of a multi-chapter story.
This option uses the given string as the "base" name of the story file(s) instead of constructing the name from the title of the story.
Convert the story file(s) into EPUB format.
Print help and exit.
List the available fetcher plugins.
Print manual page and exit. Requires "perldoc" to be installed.
Build a table-of-contents file for the story.
Be verbose.
Put the meta-data into a YAML file.
To install WWW::FetchStory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::FetchStory
CPAN shell
perl -MCPAN -e shell install WWW::FetchStory
For more information on module installation, please visit the detailed CPAN module installation guide.