Skip to content

This assignment involves web scraping data from a Singapore government website using Python libraries like BeautifulSoup and requests. The scraped data includes names, citizenships, and dates of birth of individuals mentioned in a table on the website. After scraping the data, it is processed and saved into a CSV file for further analysis or usage.

Notifications You must be signed in to change notification settings

shikhararyan/WEB_Scrapping-basic-technique

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Code Overview

  • The code begins with importing necessary libraries such as pandas, numpy, BeautifulSoup, requests, and csv.
  • It then sends a GET request to the specified URL and retrieves the HTML content of the webpage.
  • BeautifulSoup is used to parse the HTML content and extract specific information from the webpage, in this case, a table containing individuals' details.
  • The relevant data is extracted and stored in a list.
  • The extracted data is then processed to separate the name, citizenship, and date of birth information.
  • Finally, the processed data is saved into a CSV file for further use.

Technologies Used

  • Python
    • Libraries: pandas, numpy, BeautifulSoup, requests

About

This assignment involves web scraping data from a Singapore government website using Python libraries like BeautifulSoup and requests. The scraped data includes names, citizenships, and dates of birth of individuals mentioned in a table on the website. After scraping the data, it is processed and saved into a CSV file for further analysis or usage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published