Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/ Add Mangadex source #6

Merged
merged 1 commit into from
Jul 5, 2023
Merged

Conversation

hyuse202
Copy link
Contributor

@hyuse202 hyuse202 commented Jul 5, 2023

Description

  • Add method getDetailManga and getDataChapter.
  • getDataChapter.{next_chapter, prev_chapter} not working at this time (will fix soon).

Related Issuses

Parameters of getDataChapter and getDetailManga are Id not Url, so could you give me some advice to resolve that!

Quick test

const t = new Manga().build(MangaType.MANGADEX);

void (async () => {
  const mangaId = "ed5dddc0-999d-4fd2-a702-9fef1ec2c955"
  const chapterId = "aae0de61-6c56-4373-9acc-8df0cc53fdff"
  console.log(
    await t.getDataChapter(chapterId),
    await t.getDetailManga(mangaId)
    );
})();

Checklist

  • getDataChapter
  • getDetailManga
  • fix conflict of sourceId vs Url
  • fix getDataChapter.{next_chapter, prev_chapter}
  • search
  • getListLatestUpdate

@zcrossoverz
Copy link
Owner

nicee

@zcrossoverz zcrossoverz merged commit ed87804 into zcrossoverz:main Jul 5, 2023
@hyuse202 hyuse202 mentioned this pull request Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants