This Python script uses web scraping to suggest a movie from the top 250 movies on IMDB and provides a direct link to watch it online.
- Python 3.x
requests-html
library
You can install the required requests-html
library using the following command:
pip install requests-html
To run the script, navigate to the directory where the script is located and run the following command:
python imdb_movie_suggestion.py
The script will randomly select a movie from the top 250 movies on IMDB and display its name, duration, rating, release date, plot summary, and director. It will then prompt the user to watch the movie or not. If the user chooses to watch it, the script will provide a link to the movie on 1movieshd.com.
This script was written by Majd Sassi.