Socket
Socket
Sign inDemoInstall

baha-anime-crawler

Package Overview
Dependencies
47
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    baha-anime-crawler

Anime Related Data Crawler.


Version published
Weekly downloads
38
decreased by-7.32%
Maintainers
1
Install size
12.1 MB
Created
Weekly downloads
 

Readme

Source

baha-anime-crawler

A friendly anime related data crawler with built-in concurrency support and rate limiting.

Both CLI tool and library are provided.

It can be helpful if you want to analyze the popularity of anime in Bahamut Anime.

❯ bac -h
Usage: bac [options]

Options:
  -o, --output <dir>    output directory (default: "data")
  -l, --list <file>     crawled list file
  -d, --details <file>  crawled details file
  -e, --episodes        crawl episodes
  -r, --ratings         crawl ratings
  -c, --comments        crawl comments
  -i, --indent          json indent spaces
  -C, --concurrent      max concurrent requests
  -I, --interval        rate limit window interval
  -L, --limit           rate limit max requests
  -h, --help            display help for command

Install

pnpm, npm, yarn

pnpm i -g baha-anime-crawler

build from source

git clone https://github.com/JacobLinCool/baha-anime-crawler.git
cd baha-anime-crawler
pnpm i && pnpm build && pnpm link -g

Dependency Between Stages

There are 3 main stages in this crawler.

  1. Meta list (ListCrawler)
  2. Anime Details (DetailCrawler)
  3. Extra Things (EpisodeCrawler, RatingCrawler, CommentCrawler)

By default, ListCrawler and DetailCrawler will be executed. If you want to crawl extra things, you need to specify the corresponding options.

                  ListCrawler
                    ↓
 CommentCrawler ← DetailCrawler → RatingCrawler
                    ↓
                  EpisodeCrawler

FAQs

Last updated on 28 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc