mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
Merge pull request #556 from purarue/fix-index-url
bug: fix index URL to new username
This commit is contained in:
commit
bd8562f790
@ -66,7 +66,7 @@ Example: `cache:method queue`
|
||||
Since v4 uses MongoDB as a means to index cache on some endpoints, having a built cache is important since it
|
||||
works best for endpoints like search or top.
|
||||
|
||||
`Indexer:Anime` uses [https://github.com/seanbreckenridge/mal-id-cache](https://github.com/seanbreckenridge/mal-id-cache) to fetch available MAL IDs and indexes them.
|
||||
`Indexer:Anime` uses [https://github.com/purarue/mal-id-cache](https://github.com/purarue/mal-id-cache) to fetch available MAL IDs and indexes them.
|
||||
|
||||
This function only needs to be run once. Any entry's cache updating will automatically be taken care of if it's expired, and a client makes a request for that entry.
|
||||
|
||||
@ -90,7 +90,7 @@ This translates to running entries that previously failed to index or update, in
|
||||
Since v4 uses MongoDB as a means to index cache on some endpoints, having a built cache is important since it
|
||||
works best for endpoints like search or top.
|
||||
|
||||
`Indexer:Manga` uses [https://github.com/seanbreckenridge/mal-id-cache](https://github.com/seanbreckenridge/mal-id-cache) to fetch available MAL IDs and indexes them.
|
||||
`Indexer:Manga` uses [https://github.com/purarue/mal-id-cache](https://github.com/purarue/mal-id-cache) to fetch available MAL IDs and indexes them.
|
||||
|
||||
This function only needs to be run once. Any entry's cache updating will automatically be taken care of if it's expired, and a client makes a request for that entry.
|
||||
|
||||
|
@ -52,7 +52,6 @@ For any additional help, join our [Discord server](http://discord.jikan.moe/).
|
||||
| TypeScript | [jikants](https://github.com/Julien-Broyard/jikants) by Julien Broyard<br>[jikan-client](https://github.com/javi11/jikan-client) by Javier Blanco<br>🆕 **(v4)** [jikan-ts](https://github.com/tutkli/jikan-ts) by Clara Castillo |
|
||||
| PHP | [jikan-php](https://github.com/janvernieuwe/jikan-jikanPHP) by Jan Vernieuwe |
|
||||
| .NET | 🆕 **(v4)** [Jikan.net](https://github.com/Ervie/jikan.net) by Ervie |
|
||||
| Elixir | [JikanEx](https://github.com/seanbreckenridge/jikan_ex) by Sean Breckenridge |
|
||||
| Go | 🆕 **(v4)** [jikan-go](https://github.com/darenliang/jikan-go) by Daren Liang<br>[jikan2go](https://github.com/nokusukun/jikan2go) by nokusukun |
|
||||
| Ruby | [Jikan.rb](https://github.com/Zerocchi/jikan.rb) by Zerocchi |
|
||||
| Dart | [jikan-dart](https://github.com/charafau/jikan-dart) by Rafal Wachol |
|
||||
|
@ -67,7 +67,7 @@ class AnimeIndexer extends Command
|
||||
$index = (int)$index;
|
||||
$delay = (int)$delay;
|
||||
|
||||
$this->info("Info: AnimeIndexer uses seanbreckenridge/mal-id-cache fetch available MAL IDs and updates/indexes them\n\n");
|
||||
$this->info("Info: AnimeIndexer uses purarue/mal-id-cache fetch available MAL IDs and updates/indexes them\n\n");
|
||||
|
||||
if ($failed && Storage::exists('indexer/indexer_anime.failed')) {
|
||||
$this->ids = $this->loadFailedMalIds();
|
||||
@ -140,14 +140,14 @@ class AnimeIndexer extends Command
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @url https://github.com/seanbreckenridge/mal-id-cache
|
||||
* @url https://github.com/purarue/mal-id-cache
|
||||
*/
|
||||
private function fetchMalIds() : array
|
||||
{
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/anime_cache.json...\n");
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/anime_cache.json...\n");
|
||||
|
||||
$ids = json_decode(
|
||||
file_get_contents('https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/anime_cache.json'),
|
||||
file_get_contents('https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/anime_cache.json'),
|
||||
true
|
||||
);
|
||||
|
||||
|
@ -74,14 +74,14 @@ class AnimeSweepIndexer extends Command
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @url https://github.com/seanbreckenridge/mal-id-cache
|
||||
* @url https://github.com/purarue/mal-id-cache
|
||||
*/
|
||||
private function fetchMalIds(): array
|
||||
{
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/anime_cache.json...\n");
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/anime_cache.json...\n");
|
||||
|
||||
$ids = json_decode(
|
||||
file_get_contents('https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/anime_cache.json'),
|
||||
file_get_contents('https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/anime_cache.json'),
|
||||
true
|
||||
);
|
||||
|
||||
|
@ -67,7 +67,7 @@ class MangaIndexer extends Command
|
||||
$index = (int)$index;
|
||||
$delay = (int)$delay;
|
||||
|
||||
$this->info("Info: MangaIndexer uses seanbreckenridge/mal-id-cache fetch available MAL IDs and updates/indexes them\n\n");
|
||||
$this->info("Info: MangaIndexer uses purarue/mal-id-cache fetch available MAL IDs and updates/indexes them\n\n");
|
||||
|
||||
if ($failed && Storage::exists('indexer/indexer_manga.failed')) {
|
||||
$this->ids = $this->loadFailedMalIds();
|
||||
@ -140,14 +140,14 @@ class MangaIndexer extends Command
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @url https://github.com/seanbreckenridge/mal-id-cache
|
||||
* @url https://github.com/purarue/mal-id-cache
|
||||
*/
|
||||
private function fetchMalIds() : array
|
||||
{
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/manga_cache.json...\n");
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/manga_cache.json...\n");
|
||||
|
||||
$ids = json_decode(
|
||||
file_get_contents('https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/manga_cache.json'),
|
||||
file_get_contents('https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/manga_cache.json'),
|
||||
true
|
||||
);
|
||||
|
||||
|
@ -71,14 +71,14 @@ class MangaSweepIndexer extends Command
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @url https://github.com/seanbreckenridge/mal-id-cache
|
||||
* @url https://github.com/purarue/mal-id-cache
|
||||
*/
|
||||
private function fetchMalIds(): array
|
||||
{
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/manga_cache.json...\n");
|
||||
$this->info("Fetching MAL ID Cache https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/manga_cache.json...\n");
|
||||
|
||||
$ids = json_decode(
|
||||
file_get_contents('https://raw.githubusercontent.com/seanbreckenridge/mal-id-cache/master/cache/manga_cache.json'),
|
||||
file_get_contents('https://raw.githubusercontent.com/purarue/mal-id-cache/master/cache/manga_cache.json'),
|
||||
true
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user