import requests
from bs4 import BeautifulSoup
import re
url = ‘https://www.kanunu8.com/book3/7562/150394.html’
res = requests.get(url)
html = (res.content).decode(‘gbk’)
soup = BeautifulSoup(html,‘lxml’)
tags = soup.find(“td”,attrs={“width”:“820”})
text = tags.find(“p”)
print(text.text)