Git Product home page Git Product logo

anime-onschedule-downloader's Introduction

1. Description

Umm, What?

  • This is my own personal automated script to automatically look for new episode and download to local
  • It works with Firebase database to sync episodes (actually do not need it, but I wanted to try Firebase so)

TODO

  • I haven't added FTP support and Email updates to user's email as I am cleaning up
  • I haven't added my Celery scripts, because I am thinking of moving to normal Cronjobs way

Anime downloader

Anime Scraper and Downloader is from my another project, "Anime Heaven Downloader"

  • Go check that out if you want normal simple anime downloader
  • WARNING: never ever touch that source from downloader directory, as the code is directly from the project mentioned above and any code changes for downloader should be from there


2. Installation

Dependencies and Python runtime

  • Python 3.6+
  • pip install -r requirements.txt

Setting up the automated script

  • First of all you need Google account and create Realtime Database in Firebase
  • Then copy your Realtime Database Endpoint https://*.firebaseio.com/ to src/settings/config.py... DOMAIN
  • After that, create Google Service Account Key. Read Here
  • Copy the key (json format) to src/SECRET/firebase.json

PS: You can amend the code if you want to work with other databases. Database connectors should always be from db directory.



3. Usage

Adding new anime to tracker, aka Firebase DB

  • create anime.json in src, then write something like below
  • then run python sync.py --force to force sync the anime
{
  "animes": [
    {
      "episode": 5,
      "name": "Bording School Juliet",
      "url": "http://animeheaven.eu/i.php?a=Boarding%20School%20Juliet",
      "watching": true
    }
  ]
}
  • this is how your Firebase database will be like firebase screenshot


4. FYI

Automate downloads

  • Upon successfully downloads, the episode number in Firebase will be incremented itself by 1
  • I.e., if episode 4 is downloaded successfully, database episode number will become 5 for next download

Can you make executable program for X platform?

  • No, I do not have plan for making executable program at this point as this is more like automated tool to be run on your 24hr machine like Raspberrry Pi (which I do) or your PC but why tho.. unless you want to turn on PC 24/7
  • If you want simple easy to run downloader, go check "Anime Heaven Downloader"

anime-onschedule-downloader's People

Contributors

the-robot avatar sumonst21 avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar  avatar

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.