[generic] Fix on python 2.6
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 21 Feb 2014 15:59:10 +0000 (16:59 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 21 Feb 2014 15:59:10 +0000 (16:59 +0100)
commitf7300c5c90a99d234a2c7a6d70f5b5baa9d35046
tree64220815f5e1399a23b7b0a312a0395adcc64263
parent3489b7d26c727dac604cf9ece562139372da9bb7
[generic] Fix on python 2.6

`ParseError` is not available, it raises `xml.parsers.expat.ExpatError`.
The webpage needs to be encoded.
youtube_dl/extractor/generic.py
youtube_dl/utils.py