# import requests
# from bs4 import BeautifulSoup

# url = 'https://www.python.org/'
# r = requests.get(url)

# print(r.url)
# print(r.status_code)
# print(r.text)
# print(type(r.text))

# soup = BeautifulSoup(r.text)
# print(soup.h2)
# print(soup.find('h2'))
# print(soup.h2.text)
# print(soup.find('h2').text)
# print(soup.h2.get_text())
# print(soup.find('h2').get_text())

# url = 'https://tech-diary.net/python-scraping-books/'
# r = requests.get(url)
# soup = BeautifulSoup(r.text)
# print(soup.find('h1').text)
