import requests
from bs4 import BeautifulSoup
file = open('films.txt','w', encoding='utf8')
response = requests.get('https://market.fixed.one/macbooks/')
soup = BeautifulSoup(response.text, 'html.parser')
a = soup.find_all(name='h2')
print(a)
UnicodeEncodeError: 'charmap' codec can't encode character '\u2033' in position 88: character maps to <undefined>