ez_manga

Last updated:

0 purchases

ez_manga Image
ez_manga Images
Add to Cart

Description:

ez manga

Features #
This is a package that use to crawl manga from otakusan.net and read manga from mangadex
Getting started #
V1.0.0: support crawl manga from otakusan (I will update feature read manga from mangadex soon!)
Usage #
void main() async {
// search a manga
final String? name = stdin.readLineSync();
final List<MangaBase> list = await OtakuSan.search(name!);
list.forEach(print);

// choose manga
stdout.write("choice: ");
int choice = int.parse(stdin.readLineSync()!);
final Manga manga = await OtakuSan.loadMangaInfo(manga: list[choice - 1]);
print(manga);

// load chapters
manga.chapters.forEach(print);
stdout.write("Enter chap: ");
choice = int.parse(stdin.readLineSync()!);

// get pages
print(manga.chapters[choice - 1].uri);
await OtakuSan.read(manga.chapters[choice - 1].uri).then((chap) => chap.forEach(print));
}
copied to clipboard
Additional information #
This is the package I use to support for my flutter project manga_read

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.