-bash-3.2$ cd ~/code/htmlcleaner/ -bash-3.2$ mysql -e 'set names utf8; select body from comments where id = 3495' +--------------------------------------------------------------------------------------------------+ | body | +--------------------------------------------------------------------------------------------------+ | вот что удалось найти: http://www.orientalnitanec.cz/Def/Eng/Default.asp?S= | +--------------------------------------------------------------------------------------------------+ -bash-3.2$ python -c 'from cleaner import clean_html; print clean_html(""" вот что удалось найти: > > http://www.orientalnitanec.cz/Def/Eng/Default.asp?S= > > """)' вот что удалось найти:

http://www.orientalnita.../Def/Eng/Default.asp?S=