Skip to content

Automatically downloads the latest episode of your favorite anime from HorribleSubs.

License

Notifications You must be signed in to change notification settings

sohamashodiya/anitorrent

Repository files navigation

AniTorrent

Automatically downloads the latest episodes of your favorite anime from HorribleSubs!

image

Features

  • Will only download on the day an episode is scheduled to release.
  • Downloads are in the form of peer-to-peer torrents, resulting in faster downloads (speed depends on anime popularity).
  • Can be used with Windows Scheduler or Windows Startup Processes using the anitorrent.bat file.
  • If there is a delay or an absence of an episode, no episodes will be downloaded.
  • Organizes downloaded episodes by folders (using anime's name), episodes themselves are named appropriately.
  • Episodes are subbed in English...(who watches dubbed anime anyway).
  • Native notifications are triggered on startup, torrent start, torrent end, and shutdown.
  • Discord Rich Presence integration is included (refer to the screenshots and demonstration).

Demonstration

Screenshots

Sample animeData.json for One Piece

Prerequisites

  • Must have NodeJS installed. Installers can be found here.

Instructions

  1. Clone Repository.
  2. Use the command line to cd into the repository and run npm install
  3. Go to HorribleSubs, and find the anime you want to set automatic downloads for.
  4. Copy the text that comes after "http://horriblesubs.info/shows/".
  5. Go to the cloned repository, open animeData.json and create a JSON object inside the array in the format:
{
  "resolution": RESOLUTION,
  "anime": [
      {
          "name": "INSERT NAME FROM HORRIBLE SUBS HERE",
          "day": "DATE OF EPISODE RELEASE",
          "latestEpisode": LATEST EPISODE NUMBER
      }
  ]
}
  1. For additional anime, create another object in the array.
  2. Use the command line to cd into the repository and run node index.js.
  3. All anime will be downloaded in anime/<anime name>/.
  4. Optional: If you want to automatically start downloads on certain days, open Task Scheduler, Create Basic Task, Trigger Weekly, and Supply the Path to the anitorrent.bat file. Note that before doing this, you must set the path to the directory of the repository in the cd command of the bat file.

Libraries

NodeJS

Puppeteer

WebTorrent

jQuery

Discord Rich Presence

Notifier

CLI-Progress

Chalk

About

Automatically downloads the latest episode of your favorite anime from HorribleSubs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published