diff options
author | 2015-08-04 18:06:42 +0200 | |
---|---|---|
committer | 2015-08-04 18:06:42 +0200 | |
commit | 2cf928db10224b5327f918dceaa13273753620ac (patch) | |
tree | 2bf7d443308198f170c2b9eff137099467648059 /module/plugins/hoster/ZDF.py | |
parent | Merge pull request #1696 from Gutz-Pilz/patch-4 (diff) | |
download | pyload-2cf928db10224b5327f918dceaa13273753620ac.tar.xz |
Some fixes
Diffstat (limited to 'module/plugins/hoster/ZDF.py')
-rw-r--r-- | module/plugins/hoster/ZDF.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ZDF.py b/module/plugins/hoster/ZDF.py index 549dd718c..008a6241d 100644 --- a/module/plugins/hoster/ZDF.py +++ b/module/plugins/hoster/ZDF.py @@ -10,7 +10,7 @@ from module.plugins.internal.Hoster import Hoster class ZDF(Hoster): __name__ = "ZDF Mediathek" __type__ = "hoster" - __version__ = "0.82" + __version__ = "0.83" __status__ = "testing" __pattern__ = r'http://(?:www\.)?zdf\.de/ZDFmediathek/\D*(\d+)\D*' @@ -42,7 +42,7 @@ class ZDF(Hoster): def process(self, pyfile): - xml = etree.fromstring(self.load(self.XML_API % self.get_id(pyfile.url)).encode("UTF-8")) + xml = etree.fromstring(self.load(self.XML_API % self.get_id(pyfile.url), decode=False)) status = xml.findtext("./status/statuscode") if status != "ok": |