PDA

View Full Version : Python fails to process HTML query



PryGuy
June 14th, 2010, 07:20 AM
Good day!
I'm a beginner in Python.
Looking for HTML page parser I came across the following article (http://www.boddie.org.uk/python/HTML.html). There's an example script on the page that returns links and descriptions found on the parsed page. It works nice when I query UTF-8 sites, google for instance, but it returns nothing when I query a Russian site kinopoisk.ru (http://www.kinopoisk.ru/) that is CP-1251 and probably that's why it refuses to work. What do I do about it?
Thank you in advance!