Package: novelsave
NovelSaveThis is a tool to download and convert novels from popular sites to e-books.v0.7.+ is not compatible with previous versionsInstallLocalpipinstallnovelsaveorpipinstallgit+https://github.com/mensch272/novelsave.gitChatbotsDiscordJoin our server:https://discord.gg/eFgtrKTFt3Environmental VariablesThe default environmental variables are shown below. Modify them to your liking when deploying.DISCORD_TOKENis required, others are optional.DISCORD_TOKEN=# Required: discord bot tokenDISCORD_SESSION_TIMEOUT=10# MinutesDISCORD_SESSION_THREADS=5DISCORD_SEARCH_LIMIT=20# Maximum results to showDISCORD_SEARCH_DISABLED=no# Disable search functionalityDISCORD_EXTERNAL_FILEHOST=none# options: anonfiles, gofiles, noneHeroku DeploymentFill out the following form and set the environmental variables.UsageBasicTo download and package the novel in a single line use the following command:novelsaveprocess<id_or_url>The most common commands you'll be using are:updateThe command requires the url of the id of the novel as an argument. When the novel has been identified it attempts to update the current novel information in the following steps:Download the novel webpage.Update the novel information. This includes title, author and pending chapters.Identify the chapters with no content and download and update them.Download any assets that require to be downloaded (assets are identified during chapter download).Note that, if url is provided and the novel does not already exist in the database, a new novel entry will be created.For more information, runnovelsaveupdate--helppackageThe command requires the url of the id of the novel as an argument. When novel is identified compiles the downloaded content into the specified formats.Specify a compilation target using the--targetoption. If option is not provided
compiles to only epub.Or you may use--target-allto package to all supported formats.novelsavepackage<id_or_url>--targetepub--targetwebSupported compilation targets:epubhtmlmobipdfazw3textFor more information, runnovelsavepackage--helpprocessThe command requires the url of the id of the novel as an argument. This is a combination of the above two commands,updateandpackage.This is a command of convenience, to update and package in a single command.For more information, runnovelsaveprocess--helpConfigurationsUse the following command to show all the current configurations. Default value will be shown
in case none is set.novelsaveconfigshowYou may change your configurations usingsetorreset. For example:novelsaveconfigsetnovel.dir--value~/mynovelsnovelsaveconfigresetnovel.dirAll supported configurations are:novel.dir- Your desired novel's packaged data (epub, mobi) save locationMoreTo find more information, use option--helpon groups and commands.novelsave--helpnovelsavenovel--helpCookiesWant to access authentication protected content, use browser cookies.Browser cookiesThis is an optional feature where you may use cookies from your browsers when sending requests.
This effectively allows the script to pretend as the browser and thus allowing access to any content
the browser would also be able to access.You can use this in the following simple steps:Login to your source of choice with your browser of choice (though make sure the browser is supported).Use option--browser <browser>when updating novel (also available in process).novelsave[update|process]<id_or_url>--browser<browser>SupportedchromefirefoxchromiumoperaedgebraveSourcesSources have been moved to its ownpackage. You can install and upgrade sources using the following command.pipinstallnovelsave-sources--upgradeDisclaimerWe are not affiliated, associated, authorized, endorsed by, or in any way officially connected with the any of thesourcesmentioned above.LicenseApache-2.0