fname = 'Код Да Винчи'
url = f'https://www.kinopoisk.ru/index.php?kp_query={fname}'
page = requests.get(url, headers=HEADERS)
tree = html.fromstring(page.content)
mbu = tree.xpath("//div[@class='element most_wanted']//div[@class='info']//p//text()")
print(mbu)
div[@class='element most_wanted']//div[@class='info']/p[@class='name']/a[@class='js-serp-metrika']/@data-url
string(div[@class='element most_wanted']//div[@class='info']/p[@class='name']/a[@class='js-serp-metrika']/@data-url)