<div class="grid-cols-4" style="">
<span grid-data-type="text">Черновик</span></div>
import requests
from bs4 import BeautifulSoup
# go to url
url = "example.com"
res = requests.get(url)
# pasing page
soup = BeautifulSoup(res.text, 'html.parser')
# search "Черновик" from span
els = soup.find_all(lambda tag: tag.name == "span" and "Черновик" in tag.text)
# ptint
for els in el:
print(el.text)