I have taken help to extract data from the package BeautifulSoup, but unfortunately, it does not give me the output of the complete HTM file.
from bs4 import BeautifulSoup
import requests
url = 'https://www.digikala.com/search/category-mobile-phone/?page=1'
response = requests.get(url)
print(response.text)
soup = BeautifulSoup(response.content,"lxml")
m= soup.find_all("h2", {'class':'ellipsis-2 text-body2-strong
color-700'})
print(m)