Missing commas

This commit is contained in:
Fabio Manganiello 2020-07-04 00:31:24 +02:00
parent b716b1a0c1
commit adc94349c7

View file

@ -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:([^&#:])',
]
]