Skip to content

Files

Latest commit

d3703e6 · Oct 14, 2024

History

History
25 lines (14 loc) · 964 Bytes

File metadata and controls

25 lines (14 loc) · 964 Bytes

Data_Scraping_and_Analyzing_Economic_Data

Done Web/Data Scraping using "BeautifulScoup" and "requests" library of Python from a targeted economic webpage and analyzed the data

Web Scraping

Web scraping in Python is the process of automatically extracting data from targeted websites using Python libraries.

6zM7JBq

Process Involved

  1. Sending HTTP requests to the URL of the targeted webpage to get the HTML file using requests or "requests" or "httpx" libraries in Python.
  2. Parse the HTML file to easily iterate and extract data using Python HTML parser like "html.parser" or "lxml".
  3. Then use functions like find and find_all in Python to extract the required data from the parsed HTML file.
  4. The extracted data can be stored in various formats, such as CSV files, databases, or JSON objects.

Libraries used:

  1. BeautifulScoup
  2. requests
  3. Pandas