Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ffatahillah7/web-scraping-to-csv-using-python
Get data from web using Python and load or export to csv
https://github.com/ffatahillah7/web-scraping-to-csv-using-python
beautifulsoup python web-scraper
Last synced: 13 days ago
JSON representation
Get data from web using Python and load or export to csv
- Host: GitHub
- URL: https://github.com/ffatahillah7/web-scraping-to-csv-using-python
- Owner: ffatahillah7
- Created: 2024-12-24T06:34:52.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2024-12-24T10:57:09.000Z (14 days ago)
- Last Synced: 2024-12-25T12:14:43.477Z (13 days ago)
- Topics: beautifulsoup, python, web-scraper
- Language: Jupyter Notebook
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web Scraping to csv using Python
Get data from web using Python and load or export to csvThe Purpose of this project is to scrape data from website and load it to csv file. Using several libraly of Python such as Csv, Requests and BeautifulSoup.
Please check the python file for better understanding.
# Prerequisite
1. Use Jupyter Notebook
2. Os Ubuntu 20
3. install library using pip install for requests, BeautifulSoup and csv
# Lessons from this Project
1. Install and Import Library needed
2. Knowledge of html language
3. inspect the website
4. discover the text do you want to take. For this project we will find Title, Price and Rating of a book at book store.
5. print using BeautifulSoup for better format text
6. find the class, Paragraph, and Attribute of the text.
7. Transform to the good format
8. export or save the result to csv