Giter Club home page Giter Club logo

animetrackingbots's Introduction

AnimeTrackingBots

This repository contains multiple programs which track anime releases from Crunchyroll, FUNimation, DAISUKI and Taiga. New releases will be posted to reddit and saved in the database to prevent double posting.

If something is unclear do not hesitate to email me at [email protected] or make an issue on this repository.

Refer to database.sqlite for an example database. The example database was used on October 31st 2015.

The programs should be self explanatory but here's a quick summary:
Create a database and enter data for shows that have to get tracked. I strongly recommend opening the provided example database (using something like "DB Browser for SQLite") to get a feel for what data is needed. After that run one or multiple bots and start them.

The Crunchyroll, FUNimation and DAISUKI bots have a GUI which should help you out. If you intend to use the program outside of the US you will have to specify a proxy for FUNimation otherwise you'll get a CloudFlare page which prevents access to the API. The DAISUKI API returns different values per region so it also has proxy support. The Crunchyroll RSS feeds are always available and as a result has no proxy support.

Useful API links:

The Taiga bot relies on two arguments being given when run. These arguments are given by a modified version of Taiga found here. There is a feature request to make this a default option but is currently not implemented. Also note that the Taiga bot needs a file called "data.txt" in the same location as the executable which contains the path to the database file on the first line and the subreddit to post to on the second line.

What are the episode offsets in the database? Sometimes sites use different numbering schemes than desired and the episode offsets help you deal with them. If a show is on episode 13 because a site continues its numbering and you'd like to start over from episode 1 you'd set InternalOffset to -12.0 for that specific entry. If you still want to display a message that it is also known as episode 13 you'd also enter 12.0 in the AKAOffset cell.

Known issues:

  • You will frequently encounter "Failed connect" errors when the time is on exactly an hour. This is a .NET SChannel bug reported here. These errors can safely be ignored since the bot will try again a little later.
  • After a few hours of posting inactivity the next post on reddit will give you a "Failed reddit post" error. I am not sure as to why this happens but it might be related to the same bug as mentioned earlier. Using OAuth2 instead of plain username + password does not resolve this. This error can safely be ignored since the bot will try again a little later.
  • When stopping the bot the next start attempt may give you a "Failed reddit login" error. Once again, this can safely be ignored. Pressing start again will work fine.

Pro tip:
If you need to force close the bot hold shift before attempting to do so. It will override the safety measures put in place. Keep in mind that recent data may be corrupted as a result and should be double checked.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.