C:\Users\IvanIvan>python
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> response = requests.get('https://r...content-available-to-author-only...a.org/w/api.php?action=query&list=backlinks&bltitle=%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0&bllimit=10&blfilterredir=redirects&format=json').json()
>>> print(str(response))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python34\lib\encodings\cp866.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_map)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\xd0' in position 549: character maps to <undefined>
>>>
QzpcVXNlcnNcSXZhbkl2YW4+cHl0aG9uClB5dGhvbiAzLjQuMyAodjMuNC4zOjliNzNmMWMzZTYwMSwgRmViIDI0IDIwMTUsIDIyOjQ0OjQwKSBbTVNDIHYuMTYwMCA2NCBiaXQgKEFNRDY0KV0gb24gd2luMzIKVHlwZSAiaGVscCIsICJjb3B5cmlnaHQiLCAiY3JlZGl0cyIgb3IgImxpY2Vuc2UiIGZvciBtb3JlIGluZm9ybWF0aW9uLgo+Pj4gaW1wb3J0IHJlcXVlc3RzCj4+PiByZXNwb25zZSA9IHJlcXVlc3RzLmdldCgnaHR0cHM6Ly9yLi4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5hLm9yZy93L2FwaS5waHA/YWN0aW9uPXF1ZXJ5Jmxpc3Q9YmFja2xpbmtzJmJsdGl0bGU9JUQwJTk3JUQwJUIwJUQwJUIzJUQwJUJCJUQwJUIwJUQwJUIyJUQwJUJEJUQwJUIwJUQxJThGXyVEMSU4MSVEMSU4MiVEMSU4MCVEMCVCMCVEMCVCRCVEMCVCOCVEMSU4NiVEMCVCMCZibGxpbWl0PTEwJmJsZmlsdGVycmVkaXI9cmVkaXJlY3RzJmZvcm1hdD1qc29uJykuanNvbigpCj4+PiBwcmludChzdHIocmVzcG9uc2UpKQpUcmFjZWJhY2sgKG1vc3QgcmVjZW50IGNhbGwgbGFzdCk6CiAgRmlsZSAiPHN0ZGluPiIsIGxpbmUgMSwgaW4gPG1vZHVsZT4KICBGaWxlICJDOlxQeXRob24zNFxsaWJcZW5jb2RpbmdzXGNwODY2LnB5IiwgbGluZSAxOSwgaW4gZW5jb2RlCiAgICByZXR1cm4gY29kZWNzLmNoYXJtYXBfZW5jb2RlKGlucHV0LHNlbGYuZXJyb3JzLGVuY29kaW5nX21hcClbMF0KVW5pY29kZUVuY29kZUVycm9yOiAnY2hhcm1hcCcgY29kZWMgY2FuJ3QgZW5jb2RlIGNoYXJhY3RlciAnXHhkMCcgaW4gcG9zaXRpb24gNTQ5OiBjaGFyYWN0ZXIgbWFwcyB0byA8dW5kZWZpbmVkPgo+Pj4=
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/py_compile.py", line 117, in compile
raise py_exc
py_compile.PyCompileError: File "prog.py", line 1
C:\Users\IvanIvan>python
^
SyntaxError: invalid syntax