@untidy/animeflv
v0.2.1
Published
web scraping tools for animeflv site
Downloads
4
Readme
@untidy/animeflv
:information_source: About
Web scraping tools for the animeflv site.
Warning
Use of this web scraping package for any malicious or unethical activities is strictly prohibited. By using these tools, you agree to adhere to all applicable laws and regulations, as well as to respect the terms of service of the website you are scraping. The intention of this package is solely for legitimate purposes such as data analysis, research, or personal use.
:sparkles: Features
- Built with TypeScript for full typing support.
- ESM only.
- Uses
cheerio
to retrieve data for pathsbrowse
,anime
,ver
(for both mobile and desktop sites). - Utilizes the built-in
URL
module fromnode
to create queries in thebrowse
path (for both mobile and desktop sites).
:package: Install
With npm:
npm install @untidy/animeflv
With yarn:
yarn add @untidy/animeflv
With pnpm:
pnpm add @untidy/animeflv
:beginner: Usage
@untidy/animeflv
is easy to use, The following example demonstrates how to retrieve the URL for
recently updated movies in the year 2023. For more examples with other APIs, please refer to the
Docs section.
Example usage:
import { browseFilter } from '@untidy/animeflv';
// If using TypeScript
import type { Options, OriginURL } from '@untidy/animeflv/url';
const origin: OriginURL = 'https://www3.animeflv.net/';
const options: Options = {
year: '2023',
type: 'movie',
order: 'updated',
};
// In this case, the target URL will be: https://www3.animeflv.net/browse?year=2023&type=movie&order=updated
const target = browseFilter(options, origin);
:page_facing_up: Docs
:scroll: License
@untidy/animeflv
is licensed under the
Apache-2.0 license - © 2023
falsepopsky.