{"id":36985346,"url":"https://github.com/rl404/mal-scraper","last_synced_at":"2026-01-13T23:01:37.086Z","repository":{"id":62536236,"uuid":"146173202","full_name":"rl404/MAL-Scraper","owner":"rl404","description":"Scrap everything from MyAnimelist web view into a ready-to-use data","archived":true,"fork":false,"pushed_at":"2020-06-29T02:23:32.000Z","size":280,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-13T21:09:49.705Z","etag":null,"topics":["anime","api","json","manga","myanimelist","parser","php","scraper","unofficial"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rl404.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-26T11:03:27.000Z","updated_at":"2023-01-28T13:55:55.000Z","dependencies_parsed_at":"2022-11-02T15:16:28.517Z","dependency_job_id":null,"html_url":"https://github.com/rl404/MAL-Scraper","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/rl404/MAL-Scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rl404%2FMAL-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rl404%2FMAL-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rl404%2FMAL-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rl404%2FMAL-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rl404","download_url":"https://codeload.github.com/rl404/MAL-Scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rl404%2FMAL-Scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anime","api","json","manga","myanimelist","parser","php","scraper","unofficial"],"created_at":"2026-01-13T23:01:35.103Z","updated_at":"2026-01-13T23:01:37.068Z","avatar_url":"https://github.com/rl404.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e Go [here](https://github.com/rl404/go-malscraper) for a better and more updated version.\n\n\u003cp align=center\u003e\u003cimg src=\"https://raw.githubusercontent.com/rl404/MyAnimeList/master/Images/malscraper-logo.png\"\u003e\u003cbr\u003e\n\u003ca href=\"https://php.net/\"\u003e\u003cimg src=\"https://img.shields.io/badge/php-%3E%3D5.4-8892BF.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://styleci.io/repos/146173202\"\u003e\u003cimg src=\"https://styleci.io/repos/146173202/shield?branch=master\u0026style=flat\" alt=\"StyleCI Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.codefactor.io/repository/github/rl404/mal-scraper\"\u003e\u003cimg src=\"https://www.codefactor.io/repository/github/rl404/mal-scraper/badge\" alt=\"Code Factor\"\u003e\u003c/a\u003e\n\u003ca href=\"https://scrutinizer-ci.com/g/rl404/MAL-Scraper/?branch=master\"\u003e\u003cimg src=\"https://scrutinizer-ci.com/g/rl404/MAL-Scraper/badges/quality-score.png?b=master\" alt=\"Scrutinizer Score\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/rl404/mal-scraper\"\u003e\u003cimg src=\"https://poser.pugx.org/rl404/mal-scraper/v/stable\" alt=\"Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/rl404/mal-scraper\"\u003e\u003cimg src=\"https://poser.pugx.org/rl404/mal-scraper/downloads\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/rl404/mal-scraper\"\u003e\u003cimg src=\"https://poser.pugx.org/rl404/mal-scraper/license\" alt=\"License\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n_Mal-Scraper_ is an unofficial PHP API which scraps and parses page source of [MyAnimeList](https://myanimelist.net/).\n\nWell, 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.\n\n_Mal-Scraper_ is using [Sunra's](https://github.com/sunra/php-simple-html-dom-parser) HTML DOM parser and inspired by [Kylart's](https://github.com/Kylart/MalScraper) and [Jikan's](https://github.com/jikan-me/jikan) API.\n\nFor those who want the **REST API** one, please come [here](https://github.com/rl404/MAL-Scraper-API).\n\n### Features\n- Get general information of anime, manga, character (from anime and manga), people (voice actor, author, staff, etc), review or recommendation\n- Get additional information of anime or manga video, episode, review, recommendation, character and staff, statistic and score, or picture\n- Get list of anime or manga of selected studio/producer, magazine, or genre\n- Get list of all anime or manga genre, anime studio/producer or manga magazine\n- Get list of character and staff involved in an anime or manga\n- Get list of anime, manga or best-voted review (pagination supported)\n- Get list of anime or manga recommendation (pagination supported)\n- Get result of searching, anime, manga, character, people or user (pagination supported)\n- Get seasonal anime\n- Get list of top anime from various categories (all, airing, upcoming, etc) (pagination supported)\n- Get list of top manga from various categories (all, manga, novel, etc) (pagination supported)\n- Get list of most favorited character and people (pagination supported)\n- Get information of user profile, friends, history, and anime/manga list\n- Caching (using [Simple-PHP-Cache library](https://github.com/cosenary/Simple-PHP-Cache))\n- Convertable return to http response (for API)\n- (Bonus) Get all anime/manga cover from user list\n\n_More will be coming soon..._\n\n## Installation\n1. `composer require rl404/mal-scraper`\n2. That's it.\n\n#### Dependencies\n- PHP 5.4+\n- rl404/simple-php-cache 1.6.1+\n- rl404/php-simple-html-dom-parser 1.5.3+\n\n## Usage\n```php\nrequire \"vendor/autoload.php\";\nuse MalScraper\\MalScraper;\n\n// Default (no caching, return array)\n$myMalScraper = new MalScraper();\n\n// Caching feature\n$myMalScraper = new MalScraper([\n    'enable_cache' =\u003e true,     // enable caching\n    'cache_time' =\u003e 3600,       // (optional) caching time in seconds (1 day as default)\n    'cache_path' =\u003e '../Cache/' // (optional) caching path (/src/MalScraper/Cache/ as default)\n]);\n\n// Return http response\n$myMalScraper = new MalScraper([\n    'to_api' =\u003e true,         \t// convert return to http response\n]);\n```\n\n\u003e If you set the `cache_path`, don't forget the last slash ('/') of the folder location.\n\n### Example\n```php\n$cowboyBebopInfo = $myMalScraper-\u003egetInfo('anime', 1);\nprint_r($cowboyBebopInfo);\n```\n\u003cdetails\u003e\n    \u003csummary\u003eResult\u003c/summary\u003e\n    \u003cpre\u003e\nArray\n(\n    [id] =\u003e 1\n    [cover] =\u003e https://cdn.myanimelist.net/images/anime/4/19644.jpg\n    [title] =\u003e Cowboy Bebop\n    [title2] =\u003e Array\n        (\n            [english] =\u003e Cowboy Bebop\n            [synonym] =\u003e\n            [japanese] =\u003e カウボーイビバップ\n        )\n    [synopsis] =\u003e 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.\nMellow 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.\nWell-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.\n[Written by MAL Rewrite]\n    [score] =\u003e 8.81\n    [voter] =\u003e 397445\n    [rank] =\u003e 27\n    [popularity] =\u003e 39\n    [members] =\u003e 777210\n    [favorite] =\u003e 42552\n    [type] =\u003e TV\n    [episodes] =\u003e 26\n    [status] =\u003e Finished Airing\n    [aired] =\u003e Array\n        (\n            [start] =\u003e 1998-04-03\n            [end] =\u003e 1999-04-24\n        )\n    [premiered] =\u003e Spring 1998\n    [broadcast] =\u003e Saturdays at 01:00 (JST)\n    [producers] =\u003e Array\n        (\n            [0] =\u003e Array\n                (\n                    [id] =\u003e 23\n                    [name] =\u003e Bandai Visual\n                )\n        )\n    [licensors] =\u003e Array\n        (\n            [0] =\u003e Array\n                (\n                    [id] =\u003e 102\n                    [name] =\u003e Funimation\n                )\n            [1] =\u003e Array\n                (\n                    [id] =\u003e 233\n                    [name] =\u003e Bandai Entertainment\n                )\n        )\n    [studios] =\u003e Array\n        (\n            [0] =\u003e Array\n                (\n                    [id] =\u003e 14\n                    [name] =\u003e Sunrise\n                )\n        )\n    [source] =\u003e Original\n    [genres] =\u003e Array\n        (\n            [0] =\u003e Array\n                (\n                    [id] =\u003e 1\n                    [name] =\u003e Action\n                )\n            [1] =\u003e Array\n                (\n                    [id] =\u003e 2\n                    [name] =\u003e Adventure\n                )\n            [2] =\u003e Array\n                (\n                    [id] =\u003e 4\n                    [name] =\u003e Comedy\n                )\n            [3] =\u003e Array\n                (\n                    [id] =\u003e 8\n                    [name] =\u003e Drama\n                )\n            [4] =\u003e Array\n                (\n                    [id] =\u003e 24\n                    [name] =\u003e Sci-Fi\n                )\n            [5] =\u003e Array\n                (\n                    [id] =\u003e 29\n                    [name] =\u003e Space\n                )\n        )\n    [duration] =\u003e 24 min. per ep.\n    [rating] =\u003e R - 17+ (violence \u0026 profanity)\n    [related] =\u003e Array\n        (\n            [adaptation] =\u003e Array\n                (\n                    [0] =\u003e Array\n                        (\n                            [id] =\u003e 173\n                            [title] =\u003e Cowboy Bebop\n                            [type] =\u003e manga\n                        )\n                    [1] =\u003e Array\n                        (\n                            [id] =\u003e 174\n                            [title] =\u003e Shooting Star Bebop: Cowboy Bebop\n                            [type] =\u003e manga\n                        )\n                )\n            [side story] =\u003e Array\n                (\n                    [0] =\u003e Array\n                        (\n                            [id] =\u003e 5\n                            [title] =\u003e Cowboy Bebop: Tengoku no Tobira\n                            [type] =\u003e anime\n                        )\n                    [1] =\u003e Array\n                        (\n                            [id] =\u003e 17205\n                            [title] =\u003e Cowboy Bebop: Ein no Natsuyasumi\n                            [type] =\u003e anime\n                        )\n                )\n            [summary] =\u003e Array\n                (\n                    [0] =\u003e Array\n                        (\n                            [id] =\u003e 4037\n                            [title] =\u003e Cowboy Bebop: Yose Atsume Blues\n                            [type] =\u003e anime\n                        )\n                )\n        )\n    [character] =\u003e Array\n        (\n            [0] =\u003e Array\n                (\n                    [id] =\u003e 1\n                    [name] =\u003e Spiegel, Spike\n                    [role] =\u003e Main\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/4/50197.jpg\n                    [va_name] =\u003e Yamadera, Kouichi\n                    [va_id] =\u003e 11\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/3/44674.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [1] =\u003e Array\n                (\n                    [id] =\u003e 16\n                    [name] =\u003e Wong Hau Pepelu Tivrusky IV, Edward\n                    [role] =\u003e Main\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/16/30533.jpg\n                    [va_name] =\u003e Tada, Aoi\n                    [va_id] =\u003e 658\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/2/27665.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [2] =\u003e Array\n                (\n                    [id] =\u003e 2\n                    [name] =\u003e Valentine, Faye\n                    [role] =\u003e Main\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/15/264961.jpg\n                    [va_name] =\u003e Hayashibara, Megumi\n                    [va_id] =\u003e 14\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/1/54011.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [3] =\u003e Array\n                (\n                    [id] =\u003e 3\n                    [name] =\u003e Black, Jet\n                    [role] =\u003e Main\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/11/253723.jpg\n                    [va_name] =\u003e Ishizuka, Unshou\n                    [va_id] =\u003e 357\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/2/17135.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [4] =\u003e Array\n                (\n                    [id] =\u003e 4\n                    [name] =\u003e Ein\n                    [role] =\u003e Supporting\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/5/30624.jpg\n                    [va_name] =\u003e Yamadera, Kouichi\n                    [va_id] =\u003e 11\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/3/44674.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [5] =\u003e Array\n                (\n                    [id] =\u003e 2734\n                    [name] =\u003e Vicious\n                    [role] =\u003e Supporting\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/4/284773.jpg\n                    [va_name] =\u003e Wakamoto, Norio\n                    [va_id] =\u003e 84\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/3/46186.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [6] =\u003e Array\n                (\n                    [id] =\u003e 2736\n                    [name] =\u003e Eckener, Grencia Mars Elijah Guo\n                    [role] =\u003e Supporting\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/13/213557.jpg\n                    [va_name] =\u003e Horiuchi, Kenyuu\n                    [va_id] =\u003e 262\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/2/49692.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [7] =\u003e Array\n                (\n                    [id] =\u003e 2735\n                    [name] =\u003e Julia\n                    [role] =\u003e Supporting\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/9/52297.jpg\n                    [va_name] =\u003e Takashima, Gara\n                    [va_id] =\u003e 497\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/3/46185.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [8] =\u003e Array\n                (\n                    [id] =\u003e 23740\n                    [name] =\u003e Von de Oniyate, Andy\n                    [role] =\u003e Supporting\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/3/213563.jpg\n                    [va_name] =\u003e Ebara, Masashi\n                    [va_id] =\u003e 179\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/3/49817.jpg\n                    [va_role] =\u003e Japanese\n                )\n            [9] =\u003e Array\n                (\n                    [id] =\u003e 29313\n                    [name] =\u003e Mad Pierrot\n                    [role] =\u003e Supporting\n                    [image] =\u003e https://cdn.myanimelist.net/images/characters/11/212087.jpg\n                    [va_name] =\u003e Ginga, Banjou\n                    [va_id] =\u003e 330\n                    [va_image] =\u003e https://cdn.myanimelist.net/images/voiceactors/1/44678.jpg\n                    [va_role] =\u003e Japanese\n                )\n        )\n    [staff] =\u003e Array\n        (\n            [0] =\u003e Array\n                (\n                    [id] =\u003e 40009\n                    [name] =\u003e Maseba, Yutaka\n                    [role] =\u003e Producer\n                    [image] =\u003e https://cdn.myanimelist.net/images/voiceactors/3/40216.jpg\n                )\n            [1] =\u003e Array\n                (\n                    [id] =\u003e 6519\n                    [name] =\u003e Minami, Masahiko\n                    [role] =\u003e Producer\n                    [image] =\u003e https://cdn.myanimelist.net/images/voiceactors/2/39506.jpg\n                )\n            [2] =\u003e Array\n                (\n                    [id] =\u003e 2009\n                    [name] =\u003e Watanabe, Shinichiro\n                    [role] =\u003e Director, Script, Storyboard\n                    [image] =\u003e https://cdn.myanimelist.net/images/voiceactors/1/54604.jpg\n                )\n            [3] =\u003e Array\n                (\n                    [id] =\u003e 20050\n                    [name] =\u003e Kobayashi, Katsuyoshi\n                    [role] =\u003e Sound Director\n                    [image] =\u003e\n                )\n        )\n    [song] =\u003e Array\n        (\n            [opening] =\u003e Array\n                (\n                    [0] =\u003e \\\"Tank!\\\" by The Seatbelts (eps 1-25)\n                )\n            [closing] =\u003e Array\n                (\n                    [0] =\u003e \\\"The Real Folk Blues\\\" by The Seatbelts feat. Mai Yamane (eps 1-12, 14-25)\n                    [1] =\u003e \\\"Space Lion\\\" by The Seatbelts (ep 13)\n                    [2] =\u003e \\\"Blue\\\" by The Seatbelts feat. Mai Yamane (ep 26)\n                )\n        )\n)\n    \u003c/pre\u003e\n\u003c/details\u003e\n\nFor more usage and methods, please go to the [wiki](https://github.com/rl404/MAL-Scraper/wiki)\n\n## Contributing\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request.\n\n## Disclamer\nAll 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.\n\n## License\nMIT License\n\nCopyright (c) rl404\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frl404%2Fmal-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frl404%2Fmal-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frl404%2Fmal-scraper/lists"}