From f269ee45429ba360011452e6dabf4044c61e70ce Mon Sep 17 00:00:00 2001 From: Martin Ostertag Date: Wed, 17 May 2023 01:25:55 +0200 Subject: [PATCH] ZDF uses semicolon in video description ZDF uses semicolon in video description. The description is added with other parameters into an URL. When parsing and spliting the URL in python2 the semicolon is used as a separator which leads to a wrong data in the resulting dictionary and video cannot be found by video player. Semicolon is replaced by "." instead and everything works again in python2 --- ardundzdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ardundzdf.py b/ardundzdf.py index 3152135..5755d44 100644 --- a/ardundzdf.py +++ b/ardundzdf.py @@ -6905,8 +6905,8 @@ def ZDF_PageMenu(DictID, jsonObject="", urlkey="", mark="", li="", homeID=""): PLog("Satz1_1:") PLog(stage); PLog(typ); PLog(title); title = repl_json_chars(title) - descr = repl_json_chars(descr) tag = repl_json_chars(tag) + descr = repl_json_chars(descr); descr=descr.replace(';','.') if entry["type"]=="video": # Videos if "channel" in entry: # Zusatz Sender sender = entry["channel"]