31 lines
749 B
Markdown
31 lines
749 B
Markdown
# Ranobe lib dumper
|
|
|
|
First we need to install their PWA web-site as an application on our phone.
|
|
|
|
Once it's done, we can choose ranobe we want to download and click to download it.
|
|
|
|
|
|
Once ranobe is loaded, we need to connect android phone using ADB.
|
|
|
|
```bash
|
|
adb devices # Should show your device
|
|
|
|
mkdir books
|
|
cd books
|
|
# Then we can download all books downloaded so far.
|
|
adb pull sdcard/Android/data/ru.libappc/files/book/
|
|
```
|
|
|
|
Once book directory with ton of zip files is loaded, we can run the script:
|
|
|
|
```bash
|
|
python main.py -i books/20818--lord-of-the-mysteries --volume 5 -c ~/vol-5-cover.png
|
|
```
|
|
|
|
You can see all volumes by running:
|
|
```
|
|
ls | grep "v*.zip" | cut -d'-' -f1 | sort -u
|
|
```
|
|
|
|
It should show you all volume numbers with `v` prefix.
|