From 970dace02acd1702e273c0784e628ac235615f9c Mon Sep 17 00:00:00 2001 From: Mateusz Starzak Date: Thu, 15 Oct 2015 14:33:13 +0200 Subject: [PATCH] Update periscope.py Fix periscope url according to currently used schema. --- src/livestreamer/plugins/periscope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/livestreamer/plugins/periscope.py b/src/livestreamer/plugins/periscope.py index f9eacb76..800b00fb 100644 --- a/src/livestreamer/plugins/periscope.py +++ b/src/livestreamer/plugins/periscope.py @@ -10,7 +10,7 @@ STATUS_GONE = 410 STATUS_UNAVAILABLE = (STATUS_GONE,) -_url_re = re.compile(r"http(s)?://(www\.)?periscope.tv/w/(?P[\w\-\=]+)") +_url_re = re.compile(r"http(s)?://(www\.)?periscope.tv/w/(?P[\w\-\=]+)") _stream_schema = validate.Schema( {"hls_url": validate.url(scheme="http")}, validate.get("hls_url")