From eaec9ac51fd1d088e620b611427c6dff7c0a7745 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 20 Apr 2018 10:00:01 +0200 Subject: [PATCH] Final (?) regex fix --- platypush/plugins/video/omxplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/video/omxplayer.py b/platypush/plugins/video/omxplayer.py index 95de09e51..512e4e3da 100644 --- a/platypush/plugins/video/omxplayer.py +++ b/platypush/plugins/video/omxplayer.py @@ -136,7 +136,7 @@ class VideoOmxplayerPlugin(Plugin): results = [] for vid in soup.findAll(attrs={'class':'yt-uix-tile-link'}): - m = re.match('(/watch\?v=.+?)&?', vid['href']) + m = re.match('(/watch\?v=.+)&?', vid['href']) if m: results.append('https://www.youtube.com' + m.group(1))