0.3.0 • Published 7 years ago

gollum-nocinema v0.3.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

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

0.3.0

7 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.9

8 years ago

1.3.0

8 years ago

1.1.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago