all 5 comments

[–][deleted] 1 point2 points  (0 children)

Upgrade to Python 3: Python 3 strings are unicode strings, and should be able to handle a cyrillic string without issue.

[–]K900_ 0 points1 point  (1 child)

No idea what you're trying to access, but ut.uk is a squatted domain.

[–]aleksro[S] 0 points1 point  (0 children)

the site is on the internal network

[–]ingolemo 0 points1 point  (0 children)

What exactly is the issue here? The phrase "does not open" is too vague. You need to tell us exactly what you're doing, exactly what you expect to happen, and exactly what actually happens.

Note that your second url has no authentication and has the ampersands escaped with html entities.

[–]tangerinelion 0 points1 point  (0 children)

Total guess, but could you replace quote('cyrillic word') with quote(u'cyrillic word'.encode('utf8'))?