diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-14 14:06:05 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-14 14:06:05 +0800 |
commit | f141fefab73d96a6dd2c927f56d0b86253991c02 (patch) | |
tree | 094d7b5cc636528d0ebac55acece70fdd4eab6d1 /youtube_dl/jsinterp.py | |
parent | 8334637f4ac4a1aeddc6f05131be1c42ea6761e1 (diff) |
[karrierevideos] Fix extraction
The server serves malformed header "Content Type: text/xml" for the XML
request (it should be Content-Type but not Content Type). Python 3.x,
which uses email.feedparser rejects such headers. As a result,
Content-Encoding header is not parsed, so the returned content is kept
not decompressed, and thus XML parsing error.
Diffstat (limited to 'youtube_dl/jsinterp.py')
0 files changed, 0 insertions, 0 deletions