From adc94349c7d01c0c94b09dc93e024b7eb3aacd25 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 4 Jul 2020 00:31:24 +0200 Subject: [PATCH] Missing commas --- platypush/plugins/media/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platypush/plugins/media/__init__.py b/platypush/plugins/media/__init__.py index 25bea3361..af0bbad61 100644 --- a/platypush/plugins/media/__init__.py +++ b/platypush/plugins/media/__init__.py @@ -483,10 +483,10 @@ class MediaPlugin(Plugin): patterns = [ re.compile(pattern) for pattern in [ - r'https?://www.youtube.com/watch\?v=([^&#]+)' - r'https?://youtube.com/watch\?v=([^&#]+)' - r'https?://youtu.be/([^&#/]+)' - r'youtube:video:([^&#:])' + r'https?://www.youtube.com/watch\?v=([^&#]+)', + r'https?://youtube.com/watch\?v=([^&#]+)', + r'https?://youtu.be/([^&#/]+)', + r'youtube:video:([^&#:])', ] ]