Skip to content

[Work in progress] Gollum is specialized crawler in cinemas sites.

Notifications You must be signed in to change notification settings

fernandoguedes/gollum

Repository files navigation

Build Status

Gollum

Gollum is specialized crawler in cinemas sites. Cinema schedules is my precious.

The propposal of this project is return the JSON of crawled cinema for anything. Be creative!

Installing

npm install gollum-nocinema

Or just clone this project.

Avaliable Crawlers

And others under construction, contribute.

Using

Avaliable two ways to use Gollum Crawlers, both cases return a Promise.

Pass url as argument

let CinemarkCrawler = require('gollum-nocinema').CinemarkCrawler;
let url = 'http://cinemark.com.br/programacao/florianopolis/floripa-shopping/24/703'; // valid cinemark url

CinemarkCrawler
    .getScheduleByUrl(url)
        .then(function(schedule) {
            console.log('Schedule of Cinemark in JSON: ', schedule);
        })
        .catch(function(err) {
            console.log(err);
        });

Pass city and place as arguments

let CinemarkCrawler = require('gollum-nocinema').CinemarkCrawler;

CinemarkCrawler
    .getScheduleByCityAndPlace('florianopolis', 'floripa shopping')
        .then(function(schedule) {
            console.log('Schedule of Cinemark in JSON: ', schedule);
        })
        .catch(function(err) {
            console.log(err);
        });

Contribute

  • Fork this project
  • Create your branch
  • Send your PR

Any doubt, contact me.

License

MIT @ Luís Fernando Guedes

About

[Work in progress] Gollum is specialized crawler in cinemas sites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published