Download the PHP package rl404/mal-scraper without Composer

On this page you can find all versions of the php package rl404/mal-scraper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mal-scraper

Go here for a better and more updated version.


StyleCI Status Code Factor Scrutinizer Score Stable Version Total Downloads License

Mal-Scraper is an unofficial PHP API which scraps and parses page source of MyAnimeList.

Well, it is created to help people get MyAnimeList data without relying on MyAnimeList since they disabled/closed their API. It's working as long as the web is up and we can get its page source.

Mal-Scraper is using Sunra's HTML DOM parser and inspired by Kylart's and Jikan's API.

For those who want the REST API one, please come here.

Features

More will be coming soon...

Installation

  1. composer require rl404/mal-scraper
  2. That's it.

Dependencies

Usage

If you set the cache_path, don't forget the last slash ('/') of the folder location.

Example

Result
Array
(
    [id] => 1
    [cover] => https://cdn.myanimelist.net/images/anime/4/19644.jpg
    [title] => Cowboy Bebop
    [title2] => Array
        (
            [english] => Cowboy Bebop
            [synonym] =>
            [japanese] => カウボーイビバップ
        )
    [synopsis] => In the year 2071, humanity has colonized several of the planets and moons of the solar system leaving the now uninhabitable surface of planet Earth behind. The Inter Solar System Police attempts to keep peace in the galaxy, aided in part by outlaw bounty hunters, referred to as \"Cowboys.\" The ragtag team aboard the spaceship Bebop are two such individuals.
Mellow and carefree Spike Spiegel is balanced by his boisterous, pragmatic partner Jet Black as the pair makes a living chasing bounties and collecting rewards. Thrown off course by the addition of new members that they meet in their travels—Ein, a genetically engineered, highly intelligent Welsh Corgi; femme fatale Faye Valentine, an enigmatic trickster with memory loss; and the strange computer whiz kid Edward Wong—the crew embarks on thrilling adventures that unravel each member's dark and mysterious past little by little.
Well-balanced with high density action and light-hearted comedy, Cowboy Bebop is a space Western classic and an homage to the smooth and improvised music it is named after.
[Written by MAL Rewrite]
    [score] => 8.81
    [voter] => 397445
    [rank] => 27
    [popularity] => 39
    [members] => 777210
    [favorite] => 42552
    [type] => TV
    [episodes] => 26
    [status] => Finished Airing
    [aired] => Array
        (
            [start] => 1998-04-03
            [end] => 1999-04-24
        )
    [premiered] => Spring 1998
    [broadcast] => Saturdays at 01:00 (JST)
    [producers] => Array
        (
            [0] => Array
                (
                    [id] => 23
                    [name] => Bandai Visual
                )
        )
    [licensors] => Array
        (
            [0] => Array
                (
                    [id] => 102
                    [name] => Funimation
                )
            [1] => Array
                (
                    [id] => 233
                    [name] => Bandai Entertainment
                )
        )
    [studios] => Array
        (
            [0] => Array
                (
                    [id] => 14
                    [name] => Sunrise
                )
        )
    [source] => Original
    [genres] => Array
        (
            [0] => Array
                (
                    [id] => 1
                    [name] => Action
                )
            [1] => Array
                (
                    [id] => 2
                    [name] => Adventure
                )
            [2] => Array
                (
                    [id] => 4
                    [name] => Comedy
                )
            [3] => Array
                (
                    [id] => 8
                    [name] => Drama
                )
            [4] => Array
                (
                    [id] => 24
                    [name] => Sci-Fi
                )
            [5] => Array
                (
                    [id] => 29
                    [name] => Space
                )
        )
    [duration] => 24 min. per ep.
    [rating] => R - 17+ (violence & profanity)
    [related] => Array
        (
            [adaptation] => Array
                (
                    [0] => Array
                        (
                            [id] => 173
                            [title] => Cowboy Bebop
                            [type] => manga
                        )
                    [1] => Array
                        (
                            [id] => 174
                            [title] => Shooting Star Bebop: Cowboy Bebop
                            [type] => manga
                        )
                )
            [side story] => Array
                (
                    [0] => Array
                        (
                            [id] => 5
                            [title] => Cowboy Bebop: Tengoku no Tobira
                            [type] => anime
                        )
                    [1] => Array
                        (
                            [id] => 17205
                            [title] => Cowboy Bebop: Ein no Natsuyasumi
                            [type] => anime
                        )
                )
            [summary] => Array
                (
                    [0] => Array
                        (
                            [id] => 4037
                            [title] => Cowboy Bebop: Yose Atsume Blues
                            [type] => anime
                        )
                )
        )
    [character] => Array
        (
            [0] => Array
                (
                    [id] => 1
                    [name] => Spiegel, Spike
                    [role] => Main
                    [image] => https://cdn.myanimelist.net/images/characters/4/50197.jpg
                    [va_name] => Yamadera, Kouichi
                    [va_id] => 11
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/3/44674.jpg
                    [va_role] => Japanese
                )
            [1] => Array
                (
                    [id] => 16
                    [name] => Wong Hau Pepelu Tivrusky IV, Edward
                    [role] => Main
                    [image] => https://cdn.myanimelist.net/images/characters/16/30533.jpg
                    [va_name] => Tada, Aoi
                    [va_id] => 658
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/2/27665.jpg
                    [va_role] => Japanese
                )
            [2] => Array
                (
                    [id] => 2
                    [name] => Valentine, Faye
                    [role] => Main
                    [image] => https://cdn.myanimelist.net/images/characters/15/264961.jpg
                    [va_name] => Hayashibara, Megumi
                    [va_id] => 14
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/1/54011.jpg
                    [va_role] => Japanese
                )
            [3] => Array
                (
                    [id] => 3
                    [name] => Black, Jet
                    [role] => Main
                    [image] => https://cdn.myanimelist.net/images/characters/11/253723.jpg
                    [va_name] => Ishizuka, Unshou
                    [va_id] => 357
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/2/17135.jpg
                    [va_role] => Japanese
                )
            [4] => Array
                (
                    [id] => 4
                    [name] => Ein
                    [role] => Supporting
                    [image] => https://cdn.myanimelist.net/images/characters/5/30624.jpg
                    [va_name] => Yamadera, Kouichi
                    [va_id] => 11
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/3/44674.jpg
                    [va_role] => Japanese
                )
            [5] => Array
                (
                    [id] => 2734
                    [name] => Vicious
                    [role] => Supporting
                    [image] => https://cdn.myanimelist.net/images/characters/4/284773.jpg
                    [va_name] => Wakamoto, Norio
                    [va_id] => 84
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/3/46186.jpg
                    [va_role] => Japanese
                )
            [6] => Array
                (
                    [id] => 2736
                    [name] => Eckener, Grencia Mars Elijah Guo
                    [role] => Supporting
                    [image] => https://cdn.myanimelist.net/images/characters/13/213557.jpg
                    [va_name] => Horiuchi, Kenyuu
                    [va_id] => 262
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/2/49692.jpg
                    [va_role] => Japanese
                )
            [7] => Array
                (
                    [id] => 2735
                    [name] => Julia
                    [role] => Supporting
                    [image] => https://cdn.myanimelist.net/images/characters/9/52297.jpg
                    [va_name] => Takashima, Gara
                    [va_id] => 497
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/3/46185.jpg
                    [va_role] => Japanese
                )
            [8] => Array
                (
                    [id] => 23740
                    [name] => Von de Oniyate, Andy
                    [role] => Supporting
                    [image] => https://cdn.myanimelist.net/images/characters/3/213563.jpg
                    [va_name] => Ebara, Masashi
                    [va_id] => 179
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/3/49817.jpg
                    [va_role] => Japanese
                )
            [9] => Array
                (
                    [id] => 29313
                    [name] => Mad Pierrot
                    [role] => Supporting
                    [image] => https://cdn.myanimelist.net/images/characters/11/212087.jpg
                    [va_name] => Ginga, Banjou
                    [va_id] => 330
                    [va_image] => https://cdn.myanimelist.net/images/voiceactors/1/44678.jpg
                    [va_role] => Japanese
                )
        )
    [staff] => Array
        (
            [0] => Array
                (
                    [id] => 40009
                    [name] => Maseba, Yutaka
                    [role] => Producer
                    [image] => https://cdn.myanimelist.net/images/voiceactors/3/40216.jpg
                )
            [1] => Array
                (
                    [id] => 6519
                    [name] => Minami, Masahiko
                    [role] => Producer
                    [image] => https://cdn.myanimelist.net/images/voiceactors/2/39506.jpg
                )
            [2] => Array
                (
                    [id] => 2009
                    [name] => Watanabe, Shinichiro
                    [role] => Director, Script, Storyboard
                    [image] => https://cdn.myanimelist.net/images/voiceactors/1/54604.jpg
                )
            [3] => Array
                (
                    [id] => 20050
                    [name] => Kobayashi, Katsuyoshi
                    [role] => Sound Director
                    [image] =>
                )
        )
    [song] => Array
        (
            [opening] => Array
                (
                    [0] => \"Tank!\" by The Seatbelts (eps 1-25)
                )
            [closing] => Array
                (
                    [0] => \"The Real Folk Blues\" by The Seatbelts feat. Mai Yamane (eps 1-12, 14-25)
                    [1] => \"Space Lion\" by The Seatbelts (ep 13)
                    [2] => \"Blue\" by The Seatbelts feat. Mai Yamane (ep 26)
                )
        )
)
    

For more usage and methods, please go to the wiki

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

Disclamer

All data (including anime, manga, people, etc) and MyAnimeList logos belong to their respective copyrights owners. Mal-Scraper does not have any affliation with content providers.

License

MIT License

Copyright (c) rl404


All versions of mal-scraper with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
rl404/php-simple-html-dom-parser Version ~1.5.0
rl404/simple-php-cache Version ~1.6.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rl404/mal-scraper contains the following files

Loading the files please wait ....