Skip to content

Realtime IMDB Scraper and API, Simple and Fast ⚡

License

Notifications You must be signed in to change notification settings

chnthkksn/imdb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


IMDB Api - V 0.1


IMDB Scraper / IMDB API without a key ✨.

imdb-api

📝 Table of Contents

🧐 About

Simple python web scraper to scrape IMDB.
This tool can get the following information:

  • Movie Name
  • Movie Year
  • Movie Rating
  • Movie Duration
  • Movie Storyline
  • Movie Poster
  • Movie Trailer

Also it get more info on tv-series :

  • Series Episodes
  • Series Seasons

🚀 Deployment

To deploy this project
clone the project and run the following commands:

  git clone https://github.com/chnthkksn/imdb-api.git # clone the project
  cd imdb-api # go to project directory
  python -m venv venv # create virtual environment
  venv\Scripts\activate # activate virtual environment
  pip install -r requirements.txt # install requirements
  python main.py # run the project

🎈 Usage

After running the project you can use the following endpoints:

  • /docs - all the endpoints and their usage
  • /api/search/{query} - search for a movie/tv series by name ( urlencode the query - ex: /api/search/avengers%20endgame )
  • /api/getinfo/{movie_id} - get movie/tv series info
  • /api/getimg/{movie_id} - get screenshots of the movie/tv series
  • /api/akas/{movie_id} - get as known as titles of the movie/tv series


{movie_id} is the imdb id of the movie/tv series
You can get the imdb id from the url of the movie/tv series
For example: https://www.imdb.com/title/tt4154796/
The imdb id is: tt4154796

⛏️ Built Using

📝 Todo

  • Add search query endpoint
  • Add top movies endpoint
  • Add trending movies endpoint
  • Create a docker image
  • Add as known as titles endpoint

Releases

No releases published

Packages

No packages published

Languages