When I check the code by Chrome DevTools the text is ok but once scraped I have character errors.
e.g. In the code below the h1 should return "Valerian e la città dei mille pianet" and not "Valerian e la città dei mille pianeti".
These character errors are repeating when scraping any text on this domain.
I don't understand why, as in other webs this code works perfectly.
# -*- coding: utf-8 -*-
from bs4 import BeautifulSoup
import requests
headers = {'User-Agent': 'Mozilla/5.0'}
response = requests.get('http://www.mymovies.it/film/2017/valerian/', headers=headers)
soup = BeautifulSoup(response.text, 'html.parser')
title = soup.find('h1').get_text()
print(title)