From ccad94275cef44d26a36507c7cbf3df5ef30d885 Mon Sep 17 00:00:00 2001 From: mac12m99 <10120390+mac12m99@users.noreply.github.com> Date: Mon, 16 Aug 2021 19:01:29 +0200 Subject: [PATCH] casacinema: fix per alcuni contenuti --- lib/unshortenit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/unshortenit.py b/lib/unshortenit.py index ba8f3479..ccc92ac1 100644 --- a/lib/unshortenit.py +++ b/lib/unshortenit.py @@ -59,6 +59,7 @@ class UnshortenIt(object): def unshorten(self, uri, type=None): code = 0 while True: + uri = uri.strip() oldUri = uri domain = urlsplit(uri).netloc if not domain: