From 8f4a2dd060095e5acef6d94d7be97038757f0447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Kr=C3=A4upl?= Date: Sun, 11 Jan 2015 20:39:19 +0100 Subject: [PATCH] Added l8n support --- src/livestreamer/plugins/chaturbate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/livestreamer/plugins/chaturbate.py b/src/livestreamer/plugins/chaturbate.py index 80154bbc..bad94470 100644 --- a/src/livestreamer/plugins/chaturbate.py +++ b/src/livestreamer/plugins/chaturbate.py @@ -4,7 +4,7 @@ from livestreamer.plugin.api import http, validate from livestreamer.stream import HLSStream -_url_re = re.compile("http(s)?://chaturbate.com/[^/?&]+") +_url_re = re.compile("http(s)?://(\w+.)?chaturbate.com/[^/?&]+") _playlist_url_re = re.compile("html \+= \"src='(?P[^']+)'\";") _schema = validate.Schema( validate.transform(_playlist_url_re.search),