WebnovelYoinker

module
v0.0.0-...-f58ca8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2021 License: MIT

README

WebnovelYoinker

Downloads and converts webnovels to Epub or PDF

Currently supported websites:
  • wuxiaworld.com (wuxia)
  • crimsonmagic.me (crimsonmagic)
  • fullybookedtls.wordpress.com (fullybookedtls)
How to compile

Requirements:

  • Full GO installation

Linux:

git clone https://github.com/lethal-bacon0/WebnovelYoinker.git
cd WebnovelYoinker
make
sudo make install

Windows:

git clone https://github.com/lethal-bacon0/WebnovelYoinker.git
cd WebnovelYoinker
make windows

And then use the exe file in bin. I guess. I have no idea how to use make on windows and didn't test it

Currently supported export formats:
  • Epub (epub)
  • PDF (pdf) (still work in progress, most pdfs won't look even remotely good)
Basic usage:

Declaring volumes as YAML file:

--- # example-books.yaml
- Author:   Park Saenal
  CoverImageURL: https://cdn.wuxiaworld.com/images/covers/og.jpg
  Language: English
  Title:    Overgeared Volume 1
  Year:     2013
  Website : wuxia
  ExportFormat : epub
  ChapterURLs:
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-1
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-2
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-3
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-4
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-5
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-6
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-7
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-8
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-9
    - https://www.wuxiaworld.com/novel/overgeared/og-chapter-10

- Title:    Konosuba Volume 1
  Author:   Natsume Akatsuki
  CoverImageURL:    https://i.imgur.com/eLIkho2.png
  Language: English
  Year:     2013
  Website : crimsonmagic
  ExportFormat : epub
  ChapterURLs:
    - https://www.crimsonmagic.me/archive/gifting-1-p/
    - https://www.crimsonmagic.me/archive/gifting-1-1/
    - https://www.crimsonmagic.me/archive/gifting-1-2/
    - https://www.crimsonmagic.me/archive/gifting-1-3/
    - https://www.crimsonmagic.me/archive/gifting-1-4/
    - https://www.crimsonmagic.me/archive/gifting-1-e/

Downloading declared books:

Linux and Windows (powershell):
goyoinker scrape -in example-books.yaml -out OUTPUT_DIRECTORY -r 3

The flag -r declares how many books should be downloaded in parallel

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL