Skip to content

Filipponik/mangalib-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mangalib parser

Installing

  1. Install Google Chrome
  2. Install parser

Clone and build

git clone git@github.com:Filipponik/mangalib-parser.git
cd mangalib-parser
cargo build --release
cd target/release

Or you can just download latest release

Usage

Sending resource

./mangalib send-resource --url=https://example.com

Start web server

./mangalib serve --port=12345 --browsers=16

After this, your app will be available at http://localhost:{APP_PORT}

POST /scrap-manga

{
  "slug": "manga-slug",
  "callback_url": "https://example.com"
}

Start RabbitMQ consumer

./mangalib consume --url=amqp://guest:guest@localhost:5672 --browsers=16