Skip to content

Commit

Permalink
MyAnimeList | 1.0.1 (#13)
Browse files Browse the repository at this point in the history
* MyAnimeList | Init

- Added MAL tracker

* Update README.md

* Add access token refreshing

Yup.

* Cleanup token model

* Properly set refresh token

* Anilist | 1.1.5

- Added proper checking before updating reading progress

* MyAnimeList | 1.0.1

- Added NSFW param

* Remove some

* Remove unnecessary params
  • Loading branch information
TheNetsky authored Jul 20, 2023
1 parent 0211598 commit 89853d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MyAnimeList/MyAnimeList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const MyAnimeListInfo: SourceInfo = {
author: 'Netsky',
contentRating: ContentRating.EVERYONE,
icon: 'icon.png',
version: '1.0.0',
version: '1.0.1',
description: 'MyAnimeList Tracker',
websiteBaseURL: 'https://myanimelist.net',
intents: SourceIntents.MANGA_TRACKING | SourceIntents.SETTINGS_UI
Expand Down Expand Up @@ -117,7 +117,7 @@ export class MyAnimeList implements Searchable, MangaProgressProviding {
const pageURL = metadata as string

const response = await this.requestManager.schedule(App.createRequest({
url: pageURL ?? `${MYANIMELIST_API}/manga?q=${encodeURI(query.title ?? '')}`,
url: pageURL ?? `${MYANIMELIST_API}/manga?q=${encodeURI(query.title ?? '')}&nsfw=true`,
method: 'GET'
}), 1)

Expand Down Expand Up @@ -613,4 +613,4 @@ export class MyAnimeList implements Searchable, MangaProgressProviding {
throw new Error(error as string)
}
}
}
}

0 comments on commit 89853d7

Please sign in to comment.