summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-04 03:23:29 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-04 03:23:29 +0200
commit3a2a26ebd2f67aaff6115b538599c007d0b14683 (patch)
treea155bf274d476eb632ff5d4b85822226420421d7 /module/plugins/hoster
parentMerge pull request #1682 from estaban/patch-4 (diff)
parent[ZDF] Encode unicode characters when loading XML (diff)
downloadpyload-3a2a26ebd2f67aaff6115b538599c007d0b14683.tar.xz
Merge pull request #1666 from jellysheep/patch-1
[ZDF] Encode unicode characters when loading XML
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/ZDF.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/ZDF.py b/module/plugins/hoster/ZDF.py
index f66c07a13..549dd718c 100644
--- a/module/plugins/hoster/ZDF.py
+++ b/module/plugins/hoster/ZDF.py
@@ -42,7 +42,7 @@ class ZDF(Hoster):
def process(self, pyfile):
- xml = etree.fromstring(self.load(self.XML_API % self.get_id(pyfile.url)))
+ xml = etree.fromstring(self.load(self.XML_API % self.get_id(pyfile.url)).encode("UTF-8"))
status = xml.findtext("./status/statuscode")
if status != "ok":