Skip to content

aksiksi/aflam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

What?

A cinema release tracker for the UAE written in Python using the Flask microframework. The application is not complete, but it does have a functioning auth system implemented using a variety of plugins, including:

It also depends on the following libraries for certain other functions:

lxml is optional, but preffered. If you do not want to use it, open grab.py and simply remove it as a second parameter to the two BeautifulSoup objects.

soup = BeautifulSoup(..., "lxml") # Remove "lxml" (and the comma, of course)

Why?

It was supposed to become a large-scale movie release tracker for the UAE, but was unfortunately an over-ambitious project from the get-go.

How?

aflam scrapes movie release info from the Vox Cinemas homepage, then processes it using themoviedb.org's API. The resulting data is stored into a database table using the SQLAlchemy ORM. The final piece, the website, uses this stored data in its views and adds user accounts and authentication to the mix.

Setup

To run the application, you'll obviously need to install Flask and the extensions mentioned above. This can be done in one step using the included requirements.txt.

pip install -r "requirements.txt"

You'll then need to modify a few settings.

  1. In config.py, set SQLALCHEMY_DATABASE_URI to your database's link.
  2. In tmdb.py, set API_KEY to your tMDB API key. Obviously, you'll need to apply for one. You can read more about it here.

With the above done, the web app should run (almost) perfectly.

Bugs and Issues

If you ever run this application and find a bug or two, don't hesitate to report it using the Issue Tracker.

About

A UAE cinema release tracker web application written in Flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages