Answer the question
In order to leave comments, you need to log in
Parsing pages with BeautifulSoup. Why doesn't it recognize Cyrillic?
Greetings. I'm trying to get the content of the page https://www.yandex.ru/
from urllib.request import urlopen
from bs4 import BeautifulSoup
html_doc = urlopen('https://www.yandex.ru/').read()
soup = BeautifulSoup(html_doc, "html.parser")
print(soup)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question