No release in over 3 years
Low commit activity in last 3 years
Search and submit anime on NyaaTorrents to Transmission
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.11
~> 12.3
~> 3.6

Runtime

~> 1.10
~> 1.4
~> 1.0, >= 1.0.10
 Project Readme

README

This gem adds magnet links for the given anime from NyaaTorrents to Transmission. By default it will look for 1080p episodes from EraiRaws.

Magnet links that have been added to transmission will be recorded in a sqlite3 database, and will not be fetched again later.

This means that it will be safe to create a cron script that downloads the same anime repeatedly, and only new episodes will be fetched.

e.g. An example cron script to get the latest episodes of two anime series:

#!/bin/sh

nyaa "Enen no Shouboutai"
nyaa "Mahouka Koukou no Rettousei"

This gem uses the default username, password and port number for transmission.

Setting Value
Username transmission
Password transmission
Port 9091

Quickstart

  1. Install dependencies

    apt install build-essential patch ruby-dev zlib1g-dev liblzma-dev # for Nokogiri
    apt install transmission-daemon libsqlite3-dev
    
  2. Install this gem

    gem install nyaa-transmission
    
  3. Run nyaa

    Usage: nyaa [OPTIONS] QUERY
        -d, --database=DATABASE   The SQLite3 database [default: $HOME/.local/share/nyaa.db]
        -p, --provider=PROVIDER   One of: Blackjaxx, EraiRaws, HorribleSubs [default: EraiRaws]
        -h, --help                Shows this help
    

Example of downloading the anime "Hamefura" from HorribleSubs

$ nyaa --provider=HorribleSubs "Hamefura"
I, [2020-04-27T13:13:18.200330 #28717]  INFO -- : [HorribleSubs] Hamefura - 04 [1080p].mkv
I, [2020-04-27T13:13:18.220550 #28717]  INFO -- : [HorribleSubs] Hamefura - 03 [1080p].mkv
I, [2020-04-27T13:13:18.237193 #28717]  INFO -- : [HorribleSubs] Hamefura - 02 [1080p].mkv
I, [2020-04-27T13:13:18.255391 #28717]  INFO -- : [HorribleSubs] Hamefura - 01 [1080p].mkv