Skip to content

Commit dcc99f4

Browse files
committed
Update README.md
1 parent 8eea292 commit dcc99f4

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,52 @@
1+
## Aim
12

3+
Extracting famous quotes of different personalities.
4+
5+
## Purpose
6+
7+
A step by step guide to understand Web Scrpaing by extracting the quotes of many famous personalities available at [quotes.toscrape.com](https://quotes.toscrape.com/) and storing that data into the CSV file which can be later used for further Analysis.
8+
9+
## Short description of package/script
10+
11+
- Libraries used in this project are:
12+
```pandas```: To Store the data in DataFrame and later converting it to CSV file.<br>
13+
```bs4```: To import BeautifulSoup in order to extract elements from the Website.<br>
14+
```requests```: To send and get request from the website in order to scrape its data.
15+
16+
17+
## Workflow of the Project
18+
19+
- Importing relevant Libraries.
20+
- Extracting different basic elements and their texts from the website like title, author names and some quotes.
21+
- Extracting the data from multiple pages using ```while``` loop.
22+
- Creating a dataframe from the extracted data.
23+
- Storing the data in a CSV file.
24+
25+
## Setup instructions
26+
27+
In order to run this program, make sure that you have all the required libraries installed, use the following commands for installation:<br>
28+
- ```pip install pandas```<br>
29+
- ```pip install beautifulsoup4```
30+
- ```pip install requests```
31+
Also you should be having a browser, where you can inspect the website by ```Right Click -> Inspect```
32+
33+
34+
## Compilation Steps
35+
36+
Briefly show the compilation steps of the project
37+
38+
39+
## Output
40+
41+
#### Authors:
42+
[Authors](Images/Authors.png)
43+
44+
#### Quotes:
45+
[Quotes](Images/Quotes.png)
46+
47+
#### DataFrame:
48+
[Dataframe](Images/DataFrame.png)
49+
50+
## Author(s)
51+
52+
Gaurav Kumar

0 commit comments

Comments
 (0)