Giter Club home page Giter Club logo

imbd-scrapper's Introduction

IMDb API Scrapper

This project is a simple IMDb API wrapper built with Express.js, Axios, and Cheerio. It allows users to retrieve movie or TV show information by either IMDb ID or IMDb URL.

Features

  • Get by ID: Endpoint to fetch movie or TV show details by IMDb ID.
  • Get by URL: Endpoint to fetch movie or TV show details by IMDb URL.

Prerequisites

Before running this project, ensure you have the following installed:

  • Node.js
  • npm (Node Package Manager)

Installation

  1. Clone the repository:
  git clone https://github.com/sribalan98/imbd-scrapper.git
  1. Install dependencies:
  npm install
  1. Start the server:
  npm start

Usage

Get by ID

Send a POST request to /getByID with the IMDb ID in the request body.

  • Example:
  POST /getByID
  Content-Type: application/json

{
  "id": "tt1234567"
}

Get by URL

Send a POST request to /getByURL with the IMDb URL in the request body.

  • Example:
  POST /getByURL
  Content-Type: application/json

{
  "url": "https://www.imdb.com/title/tt1234567/"
}

Dependencies

  • Express
  • Axios
  • Cheerio

Project Structure

  • main.js -> imdb.min.js

License

MIT

imbd-scrapper's People

Contributors

sribalan98 avatar

Watchers

 avatar

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.