Giter Club home page Giter Club logo

filmbot's Introduction

filmbot

https://filmbot.info/

filmbot

Filmbot scrapes independent movie theater listings in a city, and generates a digest of movies playing in the next week.

Please contribute! Adding a new theater is pretty easy - each one takes me less than 20 minutes. I'd love to see contributions adding new cities, or new event categories.

It's pretty easy to scrape any site with either:

  1. links to an external ticketing provider (easier)
  2. a consistent format for events (might take a bit longer)

The project is designed to be "as primitive as possible", optimized for quick skimming, fast iteration, and low maintenance.

The static site (just a few html pages) is auto-deployed by pushes to GitHub. A nightly cron (1am PST) runs the crawler and pushes updated html files.

setup

$ bundle install
  • Note: installing nokogiri on OSX might take some fiddling. Try gem install nokogiri --use-system-libraries=true

generating html

// to run a single scraper:
// generate nyc, with the scraper matching 'metrograph'
$ ./generate.rb -c nyc -m metrograph; open nyc.html

// to run a few scrapers:
// generate nyc, with up to 3 scrapers
$ ./generate.rb -c nyc -l 3; open nyc.html

filmbot's People

Contributors

bg-stripe avatar kousun12 avatar vprtwn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kortina ellenli

filmbot's Issues

sometimes deploys the wrong file somehow

two recent weird pushes:
c9af7fa
ad5d2e7

two days ago sf was showing the wrong content (somehow showtimes from june 13th) and nyc was fine, but yesterday a similar thing happened where nyc was showing showtimes from june 13 and sf was up to date. i don't know much about onrender, but maybe somehow the machines that run the crons failed one of the generate commands and ended up pushing an old html file in the deploy? running both generate commands today (when i noticed the bug in prod) locally seems to work fine

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.