8000 GitHub - railken/mangafox: MangaFox Scraper
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

railken/mangafox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MangaFox Scraper

Search and download manga from mangafox.me

MangaFox Scraper is a library that gets all the needed information about manga for a manga-reader

Requirements

PHP 7.0.0 or later.

Composer

You can install it via Composer by typing the following command:

composer require railken/mangafox

Dependencies

Getting Started

Simple usage looks like:

# Creating a new instance of manager
$manager = new \Railken\Mangafox\Mangafox();

# Searching a manga
$results = $manager
    ->search()
    ->type('any')
    ->name('contains', 'One Piece')
    ->author('contains', 'Oda Eiichiro')
    ->artist('contains', 'Oda Eiichiro')
    ->genres('include', ['Action', 'Drama', 'Historical'])
    ->releasedYear('<', '2017')
    ->rating('>', 4)
    ->completed(0)
    ->sortBy('name', 'ASC')
    ->page(1)
    ->get();

# Retrieving all info about a manga
$manga = $manager
	->resource('one_piece')
	->get();


# Retrieving all scans for a given manga, volume and chapter
$scans = $manager
	->scan('one_piece', 1, 1)
	->get();

# Retrieving last updates 
$results = $manager->releases()->page(1)->get();

# Perform a query in the directory
$results = $manager
    ->directory()
    ->browseBy('genre', 'Action')
    ->sortBy('name') 
    ->page(1)
    ->get();

License

Open-source software licensed under the MIT license.

Copyright

All the manga are copyrighted to their respective author. Please buy the manga if it's available in your country.

Packages

No packages published

Languages

0