FUCK YOU CRUNCHYROLL
This commit is contained in:
+1210
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,120 @@
|
||||
<p align="center"><img src="https://consumet.org/images/consumetlogo.png" width="175"/></p>
|
||||
|
||||
<h1 align="center"> consumet.ts </h1>
|
||||
|
||||
consumet.ts is a Node library which provides high-level APIs to get information about several entertainment mediums like books, movies, comics, anime, manga, etc.
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.npmjs.com/package/@consumet/extensions">
|
||||
<img src="https://img.shields.io/npm/v/@consumet/extensions" alt="npm (scoped)">
|
||||
</a>
|
||||
<a href="https://github.com/consumet/consumet.ts/actions/workflows/npm-publish.yml">
|
||||
<img src="https://github.com/consumet/consumet.ts/actions/workflows/npm-publish.yml/badge.svg" alt="npm (scoped)">
|
||||
</a>
|
||||
<a href="https://discord.gg/qTPfvMxzNH">
|
||||
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="Prs are welcome">
|
||||
</a>
|
||||
<a href="https://discord.gg/qTPfvMxzNH">
|
||||
<img src="https://img.shields.io/discord/987492554486452315?color=7289da&label=discord&logo=discord&logoColor=7289da" alt="Discord">
|
||||
</a>
|
||||
<a href="https://github.com/consumet/consumet.ts/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/badge/License-GPL--3.0-blue.svg" alt="GitHub">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<h2> Table of Contents </h2>
|
||||
|
||||
- [Quick Start](#quick-start)
|
||||
- [Installation](#installation)
|
||||
- [Usage](#usage)
|
||||
- [Documentation](#documentation)
|
||||
- [Ecosystem](#ecosystem)
|
||||
- [Provider Request](#provider-request)
|
||||
- [Contributing](#contributing)
|
||||
- [Support](#support)
|
||||
- [Contributors ✨](#contributors-)
|
||||
- [Credits](#credits)
|
||||
- [License](#license)
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Installation
|
||||
|
||||
To use consumet.ts in your project, run:
|
||||
```bash
|
||||
yarn add @consumet/extensions
|
||||
# or "npm i @consumet/extensions"
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
**Example** - searching for a book using the libgen provider.
|
||||
```ts
|
||||
import { BOOKS } from "@consumet/extensions"
|
||||
|
||||
// Create a new instance of the Libgen provider
|
||||
const books = new BOOKS.Libgen();
|
||||
// Search for a book. In this case, "Pride and Prejudice"
|
||||
const data = books.search('pride and prejudice').then(data => {
|
||||
// print results
|
||||
console.log(data)
|
||||
})
|
||||
```
|
||||
|
||||
**Example** - searching for anime using the gogoanime provider.
|
||||
```ts
|
||||
import { ANIME } from "@consumet/extensions"
|
||||
|
||||
// Create a new instance of the Gogoanime provider
|
||||
const gogoanime = new ANIME.Gogoanime();
|
||||
// Search for an anime. In this case, "One Piece"
|
||||
const results = gogoanime.search("One Piece").then(data => {
|
||||
// print results
|
||||
console.log(data);
|
||||
})
|
||||
```
|
||||
|
||||
Do you want to know more? Head to the [`Getting Started`](https://github.com/consumet/consumet.ts/tree/master/docs/guides/getting-started.md).
|
||||
|
||||
## Documentation
|
||||
- [`Getting Started`](./docs/guides/getting-started.md)
|
||||
- [`Guides`](https://github.com/consumet/consumet.ts/tree/master/docs)
|
||||
- [`Anime`](./docs/guides/anime.md)
|
||||
- [`Manga`](./docs/guides/manga.md)
|
||||
- [`Books`](./docs/guides/books.md)
|
||||
- [`Movies`](./docs/guides/movies.md)
|
||||
- [`Light Novels`](./docs/guides/light-novels.md)
|
||||
- [`Comics`](./docs/guides/comics.md)
|
||||
- [`Meta`](./docs/guides/meta.md)
|
||||
- [`News`](./docs/guides/news.md)
|
||||
|
||||
## Ecosystem
|
||||
- [Rest-API Reference](https://docs.consumet.org/) - public rest api documentation
|
||||
- [Examples](https://github.com/consumet/consumet.ts/tree/master/examples) - examples of using consumet.ts.
|
||||
- [Provider Status](https://github.com/consumet/providers-status/blob/main/README.md) - A list of providers and their status.
|
||||
- [Changelog](https://github.com/consumet/consumet.ts/blob/master/CHANGELOG.md) - See the latest changes.
|
||||
- [Discord Server](https://discord.gg/qTPfvMxzNH) - Join our discord server and chat with the maintainers.
|
||||
|
||||
## Provider Request
|
||||
Make a new [issue](https://github.com/consumet/consumet.ts/issues/new?assignees=&labels=provider+request&template=provider-request.yml) with the name of the provider on the title, as well as a link to the provider in the body paragraph.
|
||||
|
||||
## Contributing
|
||||
Check out [contributing guide](https://github.com/consumet/consumet.ts/blob/master/CONTRIBUTING.md) to get an overview of consumet.ts development.
|
||||
|
||||
## Support
|
||||
You can contact the maintainers of consumet.ts via [email](mailto:consumet.org@gmail.com), or [join the discord server](https://discord.gg/qTPfvMxzNH) (Recommended).
|
||||
|
||||
<a href="https://discord.gg/qTPfvMxzNH">
|
||||
<img src="https://discordapp.com/api/guilds/987492554486452315/widget.png?style=banner2">
|
||||
</a>
|
||||
|
||||
## Contributors ✨
|
||||
Thanks to the following people for keeping this project alive and thriving.
|
||||
|
||||
[](https://github.com/consumet/consumet.ts/graphs/contributors)
|
||||
|
||||
### Credits
|
||||
- [Anify API](https://github.com/Eltik/Anify) - Used as a caching layer for the meta/anilist provider to speed up responses.
|
||||
|
||||
## License
|
||||
Licensed under [GPL-3.0](./LICENSE).
|
||||
@@ -0,0 +1,290 @@
|
||||
{
|
||||
"_id": "@consumet/extensions@1.8.8",
|
||||
"_rev": "76-53fd537a6a99a270a8eb02336988d67e",
|
||||
"name": "@consumet/extensions",
|
||||
"dist-tags": {
|
||||
"latest": "1.8.8"
|
||||
},
|
||||
"versions": [
|
||||
"1.0.0",
|
||||
"1.0.1",
|
||||
"1.0.2",
|
||||
"1.0.3",
|
||||
"1.0.4",
|
||||
"1.0.5",
|
||||
"1.0.6",
|
||||
"1.0.7",
|
||||
"1.0.8",
|
||||
"1.0.9",
|
||||
"1.0.10",
|
||||
"1.1.0",
|
||||
"1.1.1",
|
||||
"1.1.2",
|
||||
"1.1.3",
|
||||
"1.1.4",
|
||||
"1.1.5",
|
||||
"1.1.6",
|
||||
"1.1.7",
|
||||
"1.1.8",
|
||||
"1.1.9",
|
||||
"1.2.0",
|
||||
"1.2.1",
|
||||
"1.2.2",
|
||||
"1.2.3",
|
||||
"1.2.4",
|
||||
"1.2.5",
|
||||
"1.2.6",
|
||||
"1.2.7",
|
||||
"1.2.8",
|
||||
"1.2.9",
|
||||
"1.2.10",
|
||||
"1.2.11",
|
||||
"1.2.12-rc",
|
||||
"1.2.12",
|
||||
"1.3.0",
|
||||
"1.3.1",
|
||||
"1.3.2",
|
||||
"1.3.3",
|
||||
"1.3.4",
|
||||
"1.3.5",
|
||||
"1.3.6",
|
||||
"1.3.7",
|
||||
"1.4.0",
|
||||
"1.4.1",
|
||||
"1.4.2",
|
||||
"1.4.5",
|
||||
"1.4.7",
|
||||
"1.4.8",
|
||||
"1.4.9",
|
||||
"1.4.10",
|
||||
"1.4.11",
|
||||
"1.4.12",
|
||||
"1.4.13",
|
||||
"1.4.14",
|
||||
"1.4.15",
|
||||
"1.4.16",
|
||||
"1.4.17",
|
||||
"1.4.18",
|
||||
"1.5.0",
|
||||
"1.5.1",
|
||||
"1.5.2",
|
||||
"1.5.4",
|
||||
"1.5.6",
|
||||
"1.6.0",
|
||||
"1.7.0",
|
||||
"1.8.0",
|
||||
"1.8.1",
|
||||
"1.8.2",
|
||||
"1.8.3",
|
||||
"1.8.4",
|
||||
"1.8.5",
|
||||
"1.8.6",
|
||||
"1.8.7",
|
||||
"1.8.8"
|
||||
],
|
||||
"time": {
|
||||
"created": "2022-06-20T03:31:24.801Z",
|
||||
"modified": "2026-01-20T21:33:07.498Z",
|
||||
"1.0.0": "2022-06-20T03:31:25.046Z",
|
||||
"1.0.1": "2022-06-22T20:39:48.276Z",
|
||||
"1.0.2": "2022-07-06T21:00:31.310Z",
|
||||
"1.0.3": "2022-07-10T04:11:01.668Z",
|
||||
"1.0.4": "2022-07-13T22:50:52.540Z",
|
||||
"1.0.5": "2022-07-17T14:56:25.803Z",
|
||||
"1.0.6": "2022-07-20T11:48:24.733Z",
|
||||
"1.0.7": "2022-07-25T17:07:18.801Z",
|
||||
"1.0.8": "2022-07-31T05:14:10.358Z",
|
||||
"1.0.9": "2022-08-04T21:06:02.871Z",
|
||||
"1.0.10": "2022-08-09T19:01:12.619Z",
|
||||
"1.1.0": "2022-08-28T01:29:25.974Z",
|
||||
"1.1.1": "2022-09-27T03:15:21.950Z",
|
||||
"1.1.2": "2022-10-01T18:01:53.918Z",
|
||||
"1.1.3": "2022-10-02T00:06:09.163Z",
|
||||
"1.1.4": "2022-10-04T19:07:37.439Z",
|
||||
"1.1.5": "2022-10-05T04:54:23.868Z",
|
||||
"1.1.6": "2022-10-13T13:22:16.322Z",
|
||||
"1.1.7": "2022-10-13T13:50:24.016Z",
|
||||
"1.1.8": "2022-10-15T19:49:59.308Z",
|
||||
"1.1.9": "2022-10-18T16:01:09.461Z",
|
||||
"1.2.0": "2022-10-22T03:17:20.554Z",
|
||||
"1.2.1": "2022-10-22T03:35:47.399Z",
|
||||
"1.2.2": "2022-10-24T21:04:30.992Z",
|
||||
"1.2.3": "2022-10-26T22:50:20.661Z",
|
||||
"1.2.4": "2022-11-01T22:33:55.834Z",
|
||||
"1.2.5": "2022-11-01T23:21:56.303Z",
|
||||
"1.2.6": "2022-11-05T21:46:33.040Z",
|
||||
"1.2.7": "2022-11-09T23:00:31.536Z",
|
||||
"1.2.8": "2022-11-14T03:28:22.669Z",
|
||||
"1.2.9": "2022-11-28T01:34:28.954Z",
|
||||
"1.2.10": "2022-12-01T23:07:29.092Z",
|
||||
"1.2.11": "2022-12-03T21:03:59.907Z",
|
||||
"1.2.12": "2022-12-14T00:14:47.750Z",
|
||||
"1.2.12-rc": "2022-12-14T13:30:29.521Z",
|
||||
"1.3.0": "2022-12-26T18:47:53.744Z",
|
||||
"1.3.2": "2023-01-14T19:04:11.617Z",
|
||||
"1.3.1": "2023-01-17T19:02:39.715Z",
|
||||
"1.3.3": "2023-01-23T08:51:33.969Z",
|
||||
"1.3.4": "2023-01-24T03:56:03.460Z",
|
||||
"1.3.5": "2023-01-28T17:53:57.316Z",
|
||||
"1.3.6": "2023-01-30T21:23:34.673Z",
|
||||
"1.3.7": "2023-02-02T12:54:39.353Z",
|
||||
"1.4.0": "2023-02-03T09:36:11.800Z",
|
||||
"1.4.1": "2023-02-05T12:10:29.168Z",
|
||||
"1.4.2": "2023-02-10T21:00:42.276Z",
|
||||
"1.4.5": "2023-02-11T13:45:11.150Z",
|
||||
"1.4.7": "2023-02-11T13:59:36.034Z",
|
||||
"1.4.8": "2023-02-11T14:36:08.815Z",
|
||||
"1.4.9": "2023-02-14T18:17:58.860Z",
|
||||
"1.4.10": "2023-02-16T17:04:59.288Z",
|
||||
"1.4.11": "2023-02-22T01:55:55.439Z",
|
||||
"1.4.12": "2023-02-23T17:44:39.779Z",
|
||||
"1.4.13": "2023-02-25T21:26:31.971Z",
|
||||
"1.4.14": "2023-02-26T03:47:46.636Z",
|
||||
"1.4.15": "2023-03-04T02:29:58.414Z",
|
||||
"1.4.16": "2023-03-13T07:01:51.152Z",
|
||||
"1.4.17": "2023-03-27T22:55:22.969Z",
|
||||
"1.4.18": "2023-05-21T18:59:43.324Z",
|
||||
"1.5.0": "2023-07-24T18:16:28.801Z",
|
||||
"1.5.1": "2023-08-23T15:37:32.746Z",
|
||||
"1.5.2": "2023-09-22T15:43:02.431Z",
|
||||
"1.5.4": "2023-11-15T22:07:00.489Z",
|
||||
"1.5.6": "2024-02-25T20:21:43.959Z",
|
||||
"1.6.0": "2024-05-20T03:29:23.012Z",
|
||||
"1.7.0": "2024-07-24T19:40:56.234Z",
|
||||
"1.8.0": "2024-09-24T21:46:44.718Z",
|
||||
"1.8.1": "2024-11-05T19:58:09.008Z",
|
||||
"1.8.2": "2025-11-24T15:00:09.051Z",
|
||||
"1.8.3": "2025-11-24T19:22:56.892Z",
|
||||
"1.8.4": "2025-11-24T20:00:27.238Z",
|
||||
"1.8.5": "2025-11-25T04:33:26.921Z",
|
||||
"1.8.6": "2025-11-25T05:27:00.359Z",
|
||||
"1.8.7": "2025-11-25T18:53:13.887Z",
|
||||
"1.8.8": "2026-01-20T21:33:07.350Z"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/consumet/consumet.ts/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/consumet/consumet.ts#readme",
|
||||
"keywords": [
|
||||
"consumet",
|
||||
"scraper",
|
||||
"streaming",
|
||||
"anime",
|
||||
"books",
|
||||
"comics",
|
||||
"movies",
|
||||
"manga",
|
||||
"light-novels",
|
||||
"news",
|
||||
"meta"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/consumet/consumet.ts.git"
|
||||
},
|
||||
"description": "Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.",
|
||||
"maintainers": [
|
||||
"riimuru <mboumila@gmail.com>",
|
||||
"prince-ao <princeaddo608@gmail.com>"
|
||||
],
|
||||
"readmeFilename": "README.md",
|
||||
"_contentLength": 277351,
|
||||
"version": "1.8.8",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "rimraf dist && tsc -p tsconfig.json",
|
||||
"version": "auto-changelog -p && git add CHANGELOG.md",
|
||||
"lint": "prettier --write .",
|
||||
"prepare": "husky || true",
|
||||
"test": "jest",
|
||||
"test:anime": "jest ./test/anime",
|
||||
"test:anime:kaa": "jest ./test/anime/kickassanime.test.ts",
|
||||
"test:anime:anisma": "jest ./test/anime/animesama.test.ts",
|
||||
"test:books": "jest ./test/books",
|
||||
"test:comics": "jest ./test/comics",
|
||||
"test:movies": "jest ./test/movies",
|
||||
"test:manga": "jest ./test/manga",
|
||||
"test:lightnovels": "jest ./test/light-novels",
|
||||
"test:news": "jest ./test/news",
|
||||
"test:meta": "jest ./test/meta"
|
||||
},
|
||||
"pre-commit": [
|
||||
"lint",
|
||||
"build"
|
||||
],
|
||||
"authors": [
|
||||
"https://github.com/riimuru",
|
||||
"https://github.com/prince-ao"
|
||||
],
|
||||
"dependencies": {
|
||||
"ascii-url-encoder": "^1.2.0",
|
||||
"axios": "^1.7.9",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"crypto-js": "^4.1.1",
|
||||
"domhandler": "^5.0.3",
|
||||
"form-data": "^4.0.0",
|
||||
"got": "^11.8.6",
|
||||
"got-scraping": "^4.1.2",
|
||||
"husky": "^9.1.1",
|
||||
"node-fetch": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.6.3",
|
||||
"@commitlint/config-angular": "^17.6.3",
|
||||
"@types/crypto-js": "^4.1.1",
|
||||
"@types/jest": "^29.5.1",
|
||||
"@types/node": "^20.19.25",
|
||||
"@types/ws": "^8.5.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"cloudscraper": "^4.6.0",
|
||||
"is-ci": "^3.0.1",
|
||||
"jest": "^29.5.0",
|
||||
"pre-commit": "^1.0.10",
|
||||
"prettier": "^2.8.8",
|
||||
"request": "^2.88.2",
|
||||
"rimraf": "^6.0.1",
|
||||
"ts-jest": "^29.1.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"template": "keepachangelog",
|
||||
"preset": "typescript-preset-eslint",
|
||||
"output": "CHANGELOG.md",
|
||||
"commitUrl": "https://github.com/consumet/consumet.ts/commit/{id}",
|
||||
"compareUrl": "https://github.com/consumet/consumet.ts/compare/{from}...{to}",
|
||||
"issueUrl": "https://github.com/consumet/consumet.ts/issues/{id}",
|
||||
"mergeUrl": "https://github.com/consumet/consumet.ts/pull/{id}"
|
||||
},
|
||||
"directories": {
|
||||
"doc": "docs",
|
||||
"example": "examples",
|
||||
"test": "test",
|
||||
"lib": "src"
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
||||
"gitHead": "fa3bd2b0eac3d6c48343861e8c91248c459313ff",
|
||||
"_nodeVersion": "16.20.2",
|
||||
"_npmVersion": "8.19.4",
|
||||
"dist": {
|
||||
"integrity": "sha512-FehyOLruF/dq2AsXaoeWQEPMbPoSKOHHztDIdwpRnt8THFQKtIMY2qT27mLkmPGBnCEdK7si/Am5bkjXeGAA/Q==",
|
||||
"shasum": "dbfbadf832aaf52e5a9dfb46897087c722200b12",
|
||||
"tarball": "https://registry.npmjs.org/@consumet/extensions/-/extensions-1.8.8.tgz",
|
||||
"fileCount": 273,
|
||||
"unpackedSize": 1406258,
|
||||
"signatures": [
|
||||
{
|
||||
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
|
||||
"sig": "MEQCICEkM8a8HewVhictgduxvHEfllmbfgGyk5XEIpLWGaFIAiAOMht8nu8/TRT6kQiX5lKR+ti/iv7iwxXKNmsQIuslwQ=="
|
||||
}
|
||||
]
|
||||
},
|
||||
"_npmUser": "riimuru <mboumila@gmail.com>",
|
||||
"_npmOperationalInternal": {
|
||||
"host": "s3://npm-registry-packages-npm-production",
|
||||
"tmp": "tmp/extensions_1.8.8_1768944787144_0.717119659806549"
|
||||
},
|
||||
"_hasShrinkwrap": false
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user