mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-04-24 22:54:42 +00:00
trimming the regex comment out since its superfluous and breaks PEP8
This commit is contained in:
parent
1b9db71681
commit
abc8df0ea0
1 changed files with 0 additions and 1 deletions
|
|
@ -94,7 +94,6 @@ class YoutubeBackend(VideoBackend):
|
|||
Backend for YouTube URLs.
|
||||
"""
|
||||
re_code = re.compile(
|
||||
# r'youtu(?:be\.com/watch\?v=|\.be/)(?P<code>[\w-]*)(&(amp;)?[\w\?=]*)?',
|
||||
r'''youtu(\.?)be(\.com)?/ # match youtube's domains
|
||||
(embed/)? # match the embed url syntax
|
||||
(v/)?
|
||||
|
|
|
|||
Loading…
Reference in a new issue