Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

IMDB Movie Bot

A bot to scrap details of movies from the IMDB official website.

Introduction

A web scrapping bot dedicated to work on IMDB website for scraping detials like title, raiting, duration, genre, cast etc of the movie name provided as the argument. It display the result in console in the colourful format for some exciting look and this program also implement the logic of multi-threading for real-time fetching of data and displaying the progress bar for it.

Implemantion

Major Implementation of idea using:

  1. BeautifulSoup
    Used BeautifulSoup library to scrap the web page and while parsing it find the required content to be displayed.

  2. Colorama
    Used Colorama library to give the coloured console output.

  3. Threding
    Used threading library to use the concept of multi-threading for real time fetching and progress bar.

Usage

Scraping
Syntax: python main.py < movie_name >

> Scrap the details of movie name from IMDB.

    Positional Arguments:
            movie_name    :    name of the movie whose details to be fetched

NOTE : May give partial information for video other than movies like TV Series as content may be different.

Usage Examples:

Scraping Example: Scrap details of 'Aquaman' and display in console 
                  Command: 'python main.py aquaman
                  The program will run and display detials of movie 'Aquaman'

Output:

Screenshot

References

  1. BeautifulSoup Documentation
  2. Colorama Documentation
  3. An Intro to Threading in Python

Dependencies

This program depends on Python3 BeautifulSoup, requests, colorama.

Installation Using Pip:
sudo apt-get install python3-pip
sudo apt-get install beautifulsoup4
sudo apt-get install requests
sudo apt-get install colorama

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages