It is required to open the site " https: // where the impact of the Russian Federation " and then its pages (for example, " https: // the delivery of the impact of the Russian Federation / in the condition of the word / "). Mirror of the main page via the URL - https: //xn----8sbhebeda0a3c5a7a.xn--p1ai/ ". When I try to do this, I get the following error (see photo). How can I fix this? I tried to encode via urllib.quote, and through 'url'.encode (' utf-8 ') does not work at all. 
CertificateError: hostname 'where-stress.rf' doesn't match either of 'www.xn ---- 8sbhebeda0a3c5a7a.xn - p1ai', 'xn ---- 8sbhebeda0a3c5a7a.xn - p1ai'
requestsmodule - everything works fine:import requests; html = requests.get("https://где-ударение.рф/в-слове-ногтя/").textimport requests; html = requests.get("https://где-ударение.рф/в-слове-ногтя/").text- MaxU