Skip to content

Hassibi501/Python-Webscraping-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this Project?

Simple demonstration of what I can do with python libraries beautiful soup and Pandas. I used beautiful soup to web scrape quotes and author’s name from a website called "Quotes to Scrape". Then I made it so the user can chose to take all the data that been collected to store it in a text file, excel sheet, JSON file, or display data in the console.

Website Screenshot
(Quotes to Scrape Website)

Libraries Needed

  • Requests: Fetches data from websites.
pip install requests
  • BeautifulSoup (bs4): Extracts data from HTML/XML documents.
pip install requests
  • Pandas: Used for data manipulation, analysis, and for storing data.
pip install pandas
  • Openpyxl:  Used for .xlsx files.
pip install openpyxl

Showcase Project Features

 

Main menu
Menu Screenshot

Menu Option #1: Console

Prints quotes and author's name in the console.
Menu#1 Screenshot

Menu Option #2: Excel File

Prints quotes and author's name in a .xlsx file.
Menu#2.1 Screenshot Menu#2.2 Screenshot

Menu Option #3: JSON File

Prints quotes and author's name in a .json file.

Menu#3.1 Screenshot

Menu#3.2 Screenshot

Menu Option #4 : Text File

Prints quotes and author's name in a .text file. Menu#4.1 Screenshot Menu#4.2 Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages