X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/181939972cd8bc5e5ba24a1d57b580fdb54811fc..6da88962daac90dde8ba47cb3d7c004e816bd06f:/modules/urls.py diff --git a/modules/urls.py b/modules/urls.py index 9964e6b..9361591 100644 --- a/modules/urls.py +++ b/modules/urls.py @@ -1,4 +1,4 @@ -# Erebus IRC bot - Author: Erebus Team +# Erebus IRC bot - Author: Conny Sjoblom # vim: fileencoding=utf-8 # URL Checker # This file is released into the public domain; see http://unlicense.org/ @@ -225,7 +225,7 @@ url_regex = ( ) spotify_regex = ( re.compile(r'spotify:(?P\w+):(?P\w{22})'), - re.compile(r'https?://open.spotify.com/(?P\w+)/(?P\w+)') + re.compile(r'https?://open\.spotify\.com/(?P\w+)/(?P\w+)') ) youtube_regex = ( re.compile(r'https?://(?:www\.)?youtube\.com/watch\?[a-zA-Z0-9=&_\-]+'),