1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//! <img
//! src="https://raw.githubusercontent.com/ghoshRitesh12/aniwatch-api/refs/heads/main/public/img/hianime_v2.png"
//! alt="logo"
//! width="150"
//! />
//!
//! # enma.rs
//!
//! A Rust crate serving anime and manga information 📦
//!
//! > enma.rs is basically a rust port and a super set of the
//! > [aniwatch scraper package](https://github.com/ghoshRitesh12/aniwatch),
//! > which is internally used by the [aniwatch-api](https://github.com/ghoshRitesh12/aniwatch-api).
//! <br/>
//!
//! > [!IMPORTANT]
//! >
//! > 1. This package is just an unofficial package for the different providers of anime and manga and is in no other way officially related to the same.
//! > 2. The content that this package provides is not mine, nor is it hosted by me. These belong to their respective owners. This package just demonstrates how to build a package that scrapes websites and uses their content.
//!
//! ## Table of Contents
//!
//! - [Quick Start](#quick-start)
//! - [Installation](#installation)
//! - [Example Usage](#example-usage)
//! <!-- - [Documentation](#documentation) -->
//! <!-- - [getHomePage](#gethomepage)
//! - [getAZList](#getazlist)
//! - [getQtipInfo](#getqtipinfo)
//! - [getAnimeAboutInfo](#getanimeaboutinfo)
//! - [getAnimeSearchResults](#getanimesearchresults)
//! - [getAnimeSearchSuggestion](#getanimesearchsuggestion)
//! - [getProducerAnimes](#getproduceranimes)
//! - [getGenreAnime](#getgenreanime)
//! - [getAnimeCategory](#getanimecategory)
//! - [getEstimatedSchedule](#getestimatedschedule)
//! - [getAnimeEpisodes](#getanimeepisodes)
//! - [getEpisodeServers](#getepisodeservers)
//! - [getAnimeEpisodeSources](#getanimeepisodesources) -->
//! <!-- - [Development](#development) -->
//! <!-- - [Thanks](#thanks) -->
//! <!-- - [Support](#support) -->
//! <!-- - [License](#license) -->
//! <!-- - [Contributors](#contributors) -->
//! <!-- - [Star History](#star-history) -->
//! ## Quick start
//!
//! ### Installation
//! To use the `enma` crate, run the following command in your project directory:
//! ```bash
//! cargo add enma
//! ```
//! ### Example usage
//! Example - getting information about an anime category by providing the name of the category and page number(optional); using anime category `most-favorite` with page number `2` as an example.
//! ```rust
//! use enma::anime::hianime;
//!
//! async fn get_data() {
//! let hianime = hianime::Scraper::new();
//!
//! let category = "most-favorite";
//! let page_number = Some(2);
//!
//! match hianime.get_category_anime(category, page_number).await {
//! Ok(data) => println!("{data:#?}"),
//! Err(e) => eprintln!("error: {e}"),
//! }
//! }
//! ```
//!
/// namespace for anime scraper providers
///
/// example import: `use enma::anime;`
/// namespace for manga scraper providers
///
/// example import: `use enma::manga;`
pub use ;