kenshinx/second-spider — pull request #7 by jetz (2013-06-20 11:24:27+00:00)
Title: remove encoding in xml tag,so to fix pyquery's bug

if the spider is crawling a wap page which usually starts with ``, `pyquery` will encounter `ValueError: Unicode strings with encoding declaration are not supported.` exactly, it's lxml's bug. so, in order to bypass this bug, I fix it by removing the encoding attribute in xml tag.