Download full manga chapter from MangaPanda, MangaReader or MangaFox and save it for offline reading.
Manga Scraper is a CLI (Command Line Interface) app that can get all your manga and store it in your computer. If you're on Linux, BSD or Mac OS X, you can even set a cron job to get the updates automatically.
Use it for educational purpose only!
Run these command to install:
git clone https://github.com/redblanket/manga-scraper.git
cd manga-scaper
composer install
// mangapanda
./scraper run http://mangapanda.com/naruto
// mangareader
./scraper run http://mangareader.net/naruto
// mangafox
./scraper run http://mangafox.me/manga/naruto/
- url
- URL to the comic/manga list of chapter links. REQUIRED!
You can set the folder name for the images. By default, the folder name created based on comic/manga name from URI.
./scraper run http://mangapanda.com/naruto --folder=Naruto
./scraper run http://mangafox.me/manga/one_piece/ --folder="One Piece"
Set custom save path, different from defined in your config.local.php file.
./scraper run http://mangapanda.com/naruto --path=/Users/syahzul/Documents/Manga
./scraper run http://mangafox.me/manga/one_piece/ --path="C:\My Documents\Comics"
Set the chapter to start. This is useful when your previous download stopped and you want to resume the downloads.
./scraper run http://mangapanda.com/naruto --start=10
Note:
You can combine with --end
option. See below.
Set the chapter to end. This is useful when you want to limit fetching process.
./scraper run http://mangapanda.com/naruto --end=20
Note:
You can combine with --start
option. See above.
You can use --only
to get only specific chapters, separated by comma.
./scraper run http://mangapanda.com/naruto --only=201,202,207
Note:
If you specify this option, --start
and --end
will be ignored!
You can use --except
to excludes specific chapters, separated by comma.
./scraper run http://mangapanda.com/naruto --except=1,2,500,123
Note:
If you specify this option, --start
and --end
will be ignored!
There are some basic configuration for the app that you need to check out.
- download_path
- Default location where you want to store your files. The value can be overridden using option
--path
.
<dt>page_sleep</dt>
<dd>Delay between chapters.</dd>
<dt>image_sleep</dt>
<dd>Delay between images.</dd>
- Added
--only
and--except
options.
- Added checking md5 checksum file to make sure the remote and local files are matched
- Splitting up methods to base class
- Ask for download path on first run
- Remove config.php and relies on auto-generated config.local.php
- Download method for all website has been merged.
- Do extra checking for input option
--start
and--end
to make sure the value is valid. - Create metadata file to save some information about the comic/manga.
Open-sourced software licensed under the MIT license.
The main purpose I'm building this app is to learn building console app using Symfony Console component and some other packages like Guzzle.
Use it at your own risk!
All comic/manga is copyrighted to their respective author. Please buy the comic/manga if it's available in your country.