Giter Club home page Giter Club logo

holo's Introduction

Holo, of course.

Holo

Anime episode discussion post bot for /r/anime. Monitors online stream services for newly published episodes and submits a post for each to Reddit.

Currently operates under the account /u/AutoLovepon. (Previously /u/Holo_of_Yoitsu)

Season configurations (show names and associated service URLs for each anime season) can be found in season_configs. Each can be loaded using the edit module.

Requirements

  • Python 3.5+
  • requests
  • feedparser
  • beautifulsoup4
  • praw
  • praw-script-oauth
  • unidecode
  • pyyaml

Design notes

  • Partitioned into multiple self-contained runnable modules
  • Runs once and exits to play nice with schedulers
  • Source sites (Crunchyroll, Funimation, Nyaa) are self-contained with a common interface

Modules

Name Run freq Command
Find new episodes high python holo.py -s [subreddit]
Update shows med python holo.py -m update
Find new show low (or manual) python holo.py -m find
Edit shows manual python holo.py -m edit [show-config]
Setup database once python holo.py -m setup

Quick setup for local development

  1. Update config file with your desired useragent and reddit details. Make sure the subreddit you're posting to is a personal test subreddit. You can generate a Reddit OAuth key by following the steps in the Getting Started section of their GitHub wiki.
[connection]
useragent = useragent_to_use

[reddit]
subreddit = my_test_subreddit
username = test_reddit_account
password = test_reddit_account_password
oauth_key = reddit_oath_key
oauth_secret = reddit_oath_key_secret
  1. Set up the database by running python src/holo.py -m setup
  2. Load the desired season config files by running python src/holo.py -m edit season_configs/[season]_[year].yaml
  3. Update the show information by running python src/holo.py -m update
  4. Enable flairs on test subreddit
  5. The bot is now ready to post threads with python src/holo.py

holo's People

Contributors

bielna avatar badspler avatar theenigmablade avatar mnmt avatar andrewhillcode avatar durinthal avatar kanchimoe avatar apiks avatar dutchman97 avatar majehos avatar gaporigo avatar abhinavk99 avatar randomredditorwithno avatar alexmuch avatar kazzarin avatar aginsun avatar manitary avatar dmium avatar eritbh avatar wopian avatar mistywing avatar crobat3 avatar myvee avatar compidev avatar dsutphin avatar kiwibennydudez avatar ryban avatar oussamadanba avatar furatama avatar lord-ne 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.