Update endpoints.py

This commit is contained in:
W.A.Flozart 2021-12-08 15:07:57 +01:00 committed by GitHub
parent d510e7f081
commit 5d6b341f8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import oembed import oembed
YOUTUBE = oembed.OEmbedEndpoint('http://www.youtube.com/oembed', [ YOUTUBE = oembed.OEmbedEndpoint('https://www.youtube.com/oembed', [
'https?://(*.)?youtube.com/*', 'https?://(*.)?youtube.com/*',
'https?://youtu.be/*', 'https?://youtu.be/*',
]) ])