Coder Social home page Coder Social logo

sol33t / moviesbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stevenviola/moviesbot

0.0 1.0 0.0 99 KB

Comments with streaming, rental, and purchase options to movies mentioned on Reddit

License: GNU General Public License v2.0

Python 100.00%

moviesbot's Introduction

MoviesBot

MoviesBot is a reddit bot that looks for IMDB links in reddit posts and replies with links to stream, rent, and purchase the movies. The IMDB links are crossrefrenced with Can I Stream.it to populate the information.

Comments include a table with all information that was found for the movies listed.

moviesbot screenshot

This reddit bot runs on Google App Engine, and once configured, can be uploaded to run in GAE and run with the resources provided with the free quotas

Quickstart for deploying in Google App Engine

  1. Go to the Google Developers Console and click on Create Project

  2. Fill out the form, and take note of your Project ID

  3. clone this repo and save to the name of the project ID

git clone https://github.com/stevenviola/moviesbot.git

  1. Copy the config template and fill out with reddit account info

cp config-template.yml config.yaml

  1. Deploy to Google App Engine

google_appengine/appcfg.py update [project id]/

Configuration File Explination

Reddit

user: username

The username that you use to sign into Reddit with

password: supersecretpassword

The password that you use to sign into Reddit with

client_id: clientid

client_secret: clientsecret

For the client info, in the apps section of reddit prefrences, you need to create an app, and get this info from the app page

Imgur

Imgur is currently not used, and this is a placeholder for future implemention

Rotten Tomatoes

We currently do not need to authenticate to get the Rotten Tomatoes information. This section is a placeholder if there is information we will need from Rotten Tomatoes that requires authentication

TODO

  • Utilize Google App Engine Task Queues for parallel processing when retriving post information
  • Create frontend to view stats on most mentioned movies on Reddit

Further Reading

The moviesbot FAQ details how to interact with this bot on Reddit

Credits

All code in this repository was developed by Steven Viola

Information id provided by the OMDb API and Can I Stream.It

moviesbot's People

Contributors

stevenviola avatar steve-criticalmention avatar

Watchers

Adam Jones 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.