Install BeautifulSoup and lxml ,
Open terminal and write
pip install beautifulsoup4 pip install lxml
The scraper is written in Python and uses lxml to parse web pages. BeautifulSoup is used to extract data from HTML and XML files.
There are 8 classes of emotions that would be efficient for classifying text ... These are: Anger, Expectation, Disgust, Fear, Joy, Sad, Surprise, Trust . Here they are taken as input and the corresponding movies will be displayed for emotion.
The correspondence of each emotion to the genre of cinema is listed below:
Garden — Drama
Disgust — Musical
Anger — Family
Waiting — Thriller
Fear — Sports
Enjoyment — Thriller
Trust — Western
Surprise — Film Noir
Based on emotions, the appropriate genre will be selected, and all 5 best films of this genre will be recommended to the user.
This script will scrape all movie titles in the genre corresponding to the entered emotion and make a list for the user.
Web Scraping is very useful for extracting data and analyzing it. Without Web Cleaning, the Internet, as you know, would not really exist. This is because Google and other major search engines use a sophisticated web scraper to extract content to be included in their index. These tools make search engines possible.
We are experiencing a renaissance of artificial intelligence, and everyone and their neighbor wants to be a part of this movement. That’s quite likely why you are browsing through this book. There a...
This book introduces machine learning methods in finance. It features a unified treatment of machine learn...
The role of adaptation, learning and optimization are becoming increasingly essen- tial and intertwined. The capability of a system to adapt either through modification of its physiological structure ...
The rate at which we produce data is growing steadily, thus creating even larger streams of continuously evolving data. Online news, micro-blogs, search queries are just a few examples of these contin...