Git Product home page Git Product logo

node-imdb-crawler's Introduction

node-imdb-crawler

Build Status Code Climate Test Coverage Issue Count

A node library to gets TV Shows info from IMDB and returns collected data as a json.

Example

const CrawlerImdb = require('node-imdb-crawler');

let imdb_code = "tt0944947";
let imdb_crawler = new CrawlerImdb(imdb_code);

imdb_crawler.get_basic(function(data) {
  console.log("Serie:");
  console.log(data);
});

Running above example:

node example/example.js

Contributing

Pull Requests are always welcome.

Ensure that before sending a PR:

You have tested the changes locally and they are functional. Include the relevant issue number, if applicable.

Running tests

npm test

License

MIT License (c) 2017 Adriano Godoy

node-imdb-crawler's People

Contributors

godoy avatar luizpedone avatar brandon-tr avatar lnfnunes avatar erickzhao avatar lucasp90 avatar

Stargazers

 avatar  avatar  avatar Tran Minh Luan avatar  avatar

Watchers

James Cloos avatar  avatar

node-imdb-crawler's Issues

Get episodes info

A method that receives the Imdb Code and gets the following episode infos:

  • Name
  • Season
  • Number (in season)
  • Air date and time
  • Summary
  • Episode image (if exists)

Something like the following would be interesting:

imdb_crawler.get_basic(function(data) {
  console.log("Serie:");
  console.log(data);

  imdb_crawler.get_episodes(data.imdb_id, function(epi_data) {
    //epi_data
  });
})

Not getting series title and genres

Hey, tx for this...

Everything concerning episodes is working fine, except the .getBasic() is not getting the title and genres ?

Title {
  imdb_id: 'tt0944947', // game of thrones
  genres: [],
  name: '',
  rating: 9.5,
  image: 'https://m.media-amazon.com/images/M/MV5BMjE3NTQ1NDg1Ml5BMl5BanBnXkFtZTgwNzY2NDA0MjI@._V1_UY1200_CR90,0,630,1200_AL_.jpg' }

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.