BeautiFul Soup Introduction and Explanation

Estimated reading: 1 minute 897 views

Beautiful Soup

Beautiful Soup is a Python package for parsing HTML and XML documents.
It creates a parse tree for parsed pages that can be used to extract data from HTML,
which is useful for web scraping.

					import requests
from bs4 import BeautifulSoup

URL= ""

page = requests.get(URL)

soup = BeautifulSoup(page.content,"html")
get_title = soup.title

Leave a Comment

Share this Doc