|
3 | 3 | ## AIM
|
4 | 4 | > To Extract the Reviews of Movies.
|
5 | 5 |
|
| 6 | +## DESCRIPTION |
| 7 | +Here is the Python Script which is used to extract the Reviews of Movies from IMDb. We have use `requests` and `bs4` packages to extract the data. |
| 8 | + |
| 9 | +## PURPOSE |
| 10 | +In this project you’ll learn about HTTP requests and how to send them using the requests package and will also learn how to extract required data from HTML pages using some simple functions of beautifulsoup module. As we know Sentimental Analysis is very popular task in Machine Learning, so I have wrote a Python script to get the data for you and perform several task on this type of NLP. |
| 11 | + |
6 | 12 | ## PACKAGES USED
|
7 | 13 | > The purpose of these packages in project
|
8 | 14 | - `requests` - It has been to send and recieve the request in order to fetch the data from IMDB.
|
9 | 15 | - `bs4` - It has been used to extract the HTML elements from website.
|
10 | 16 | - `json` - json is used as helper in order to save the list of movies and its links.
|
11 | 17 | - `pandas` - It is used to create and store dataframes into .csv format.
|
12 | 18 |
|
| 19 | + |
13 | 20 | ## Workflow
|
14 | 21 | - Import above packages mentioned above.
|
15 | 22 | - Extracting movies and links
|
|
22 | 29 | - `pip install bs4`
|
23 | 30 | - `pip install json`
|
24 | 31 |
|
| 32 | +## COMPILATION STEPS |
| 33 | +> Go to terminal |
| 34 | + |
| 35 | +> Run command : `python3 scrapy_data.py` |
| 36 | + |
| 37 | +> Rest the script will do the work. |
25 | 38 | ## SOURCE
|
26 | 39 | ### **IMDB**
|
27 | | -  |
| 40 | +  |
28 | 41 |
|
29 | 42 |
|
30 | 43 |
|
31 | 44 | ## OUTPUT
|
32 | 45 | ### VS CODE TERMINAL
|
33 | | -  |
| 46 | +  |
34 | 47 |
|
35 | 48 |
|
36 | 49 | ## AUTHOR
|
|
0 commit comments