A type of Python library called BeautifulSoup makes it simple to manage HTML objects. The real scraping is enabled by "requests. get(url)," and BeautifulSoup makes it possible to manage elements based on html.parser.

Below example shows an example to scrape and parse the required elements by BeautifulSoup.

# Importing required libraries
import requests
from bs4 import BeautifulSoup

# URL of the website to be scraped
url = "https://www.example.com/"

# Sending a GET request to the URL
response = requests.get(url)

# Parsing the HTML content using BeautifulSoup
soup = BeautifulSoup(response.content, 'html.parser')

# Extracting required information from the parsed HTML
title = soup.title.text
paragraphs = soup.find_all('p')

# Printing the extracted information
print("Title:", title)
print("Paragraphs:")
for p in paragraphs:
    print(p.text)