Downloads lightnovels from various online sources and generates ebooks in many formats.
Discord: https://discord.gg/7A5Hktxā
Telegram: https://t.me/epub_smelter_botā
This application uses Calibre to convert ebooks.
Install it from https://calibre-ebook.com/downloadā
Without it, you will only get output in epub, text, and web formats.
⬠Windows: lightnovel-crawler v2.16.0 ~ 21MBā
In Windows 8, 10 or later versions, it might say that
lncrawl.exeis not safe to dowload or execute. You should bypass/ignore this security check to execute this program. Actually, I am too lazy to add proper configuration files to solve this issue. Excuse me please š.
⬠Linux: lightnovel-crawler v2.16.0 ~ 27MBā
Copy it to
/usr/binor~/.local/binto make it accessible in terminal. Or, you can create a launcherā to easily access the app.
š¦ A python package named lightnovel-crawler is available at pypiā .
Make sure you have installed Python v3.5 or higher and have pip enabled. Visit these links to install python with pip in Windowsā , Linuxā and MacOSā . Feel free to ask on the Discord server if you are stuck.
To install this app or to update installed one via pip, just run:
$ pip install --user -U lightnovel-crawler
Remember, in some cases you have to use python3 -m pip or pip3 or python -m pip. And you do not need --user option, if you are running from root.
Next, open your terminal and enter:
$ lightnovel-crawler
# Or, a shortcut:
$ lncrawl
To view extra logs, use:
lncrawl -lll
š± Using Termux, you can run this app in your android phones too. Follow this instructions:
apt update && apt upgradetermux-setup-storagepkg install ndk-sysroot make python zlib clangpkg install libxml2 libxslt libiconv libcrypt libffi zlib libjpeg-turbopkg install nodejs-ltspip install -U lightnovel-crawler to install the latest version of this app.cd ~/storage/downloads to store novels there.lncrawl to start.pip install -U lightnovel-crawler again to install the latest updates.š± Alternative to easy Termux is Pydroid3. It is a bit faster but harder to use and no run-in-backgroud support.
lightnovel-crawler in place of Library name and press the Install button.lightnovel-crawler and press the Uninstall button.lncrawl to start.Here is a video that might help: https://youtu.be/I20IO4dGTJ8ā
Visit this link to get started with the telegram bot: https://t.me/epub_smelter_botā
Join our server: https://discord.gg/7A5Hktxā
Or, visit this link to install discord bot to your own server: https://discordapp.com/oauth2/authorize?client_id=537526751170002946&permissions=51264&scope=botā
Send !help to open the bot help message.
$ git clone https://github.com/dipu-bd/lightnovel-crawler
$ pip install --user -r requirements.txt
$ python __main__.py
# Or, in short,
$ python .
Simply fill out the environment variables and you get a running instance.
To view list of available options:
$ lncrawl -h
================================================================================
š Lightnovel Crawler š2.16.0
https://github.com/dipu-bd/lightnovel-crawler
--------------------------------------------------------------------------------
usage: lncrawl [options...]
lightnovel-crawler [options...]
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-l Set log levels. (-l = warn, -ll = info, -lll = debug).
--list-sources Display a list of available sources.
-s URL, --source URL Profile page url of the novel.
-f, --force Force replace any existing folder.
-i, --ignore Ignore any existing folder (do not replace).
--login USER PASSWD. User name/email address and password for login.
--all Download all chapters.
--first [COUNT] Download first few chapters (default: 10).
--last [COUNT] Download last few chapters (default: 10).
--page START STOP. The start and final chapter urls.
--range FROM TO. The start and final chapter indexes.
--volumes [N [N ...]]
The list of volume numbers to download.
--chapters [URL [URL ...]]
A list of specific chapter urls.
--bot {console,telegram,discord,test}
Select a bot. Default: console.
--suppress Suppress all input prompts and use defaults.
ENV [chatbots only] Pass query string at the end of all
options. It will be use instead of .env file. Sample:
"BOT=discord&DISCORD_TOKEN=***&LOG_LEVEL=DEBUG"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are two chatbots available at this moment: Telegram and Discord. To run your own bot server, follow these instructions:
# Clone this repository
$ git clone https://github.com/dipu-bd/lightnovel-crawler
# Install requirements
$ pip3 install --user -r requirements.txt
$ pip3 install --user -r bot_requirements.txt
# Edit the environment variables
# You should give your API keys and log info here
# Also specify which bot server you want to run
$ cp .env.example .env
$ vim .env
# Run the server using:
$ python3 .
There is a server.sh script to run a bot in ubuntu servers. It will basically execute the python __main__.py and send the task to run in background. I use it to run my discord bot in the server.
You are very welcome to contribute in this project. You can:
spiders/_sample.pyā as blueprint. You can check out existing bots for idea.spiders/__init__.pyā file.bots/_sample.pyā as a standard. You can check out existing bots for idea.bots/__init__.pyā file.Request new one by creating a new issueā . Or, make a pull requestā by adding a new source.
The list of currently available sources and the future plans are given below:
Rejected:
| Rejected Sources | Reason |
|---|---|
| http://fullnovel.liveā | 403 - Forbidden: Access is denied |
| http://moonbunnycafe.comā | Does not follow uniform format |
| https://4scanlation.xyzā | ERR_SSL_PROTOCOL_ERROR |
| https://comrademao.comā | Removed |
| https://indomtl.comā | Does not like to be crawled |
| https://lnindo.orgā | Does not like to be crawled |
| https://novelgo.id/ā | Removed |
| https://www.noveluniverse.comā | Site is down |
| https://www.novelupdates.comā | Does not host any novels |
| https://www.novelv.comā | Site is down |
| https://yukinovel.idā | Removed |
When download is done, the following files can be generated:
Click hereā to view details.
Content type
Image
Digest
Size
187.3 MB
Last updated
almost 6 years ago
docker pull kukker/lightnovel-crawler