Merge pull request #1 from JordanReiter/patch-1

Update endpoints.py
This commit is contained in:
Tanner Netterville 2014-07-22 15:53:46 -05:00
commit d9ce404446

View file

@ -4,13 +4,13 @@ import oembed
ENDPOINTS = { ENDPOINTS = {
'youtube': oembed.OEmbedEndpoint('http://www.youtube.com/oembed', [ 'youtube': oembed.OEmbedEndpoint('http://www.youtube.com/oembed', [
'http://(*.)?youtube.com/*', 'https?://(*.)?youtube.com/*',
'http://youtu.be/*', 'https?://youtu.be/*',
]), ]),
'flickr': oembed.OEmbedEndpoint('http://www.flickr.com/services/oembed/', [ 'flickr': oembed.OEmbedEndpoint('http://www.flickr.com/services/oembed/', [
'http://*.flickr.com/*', 'https?://*.flickr.com/*',
]), ]),
'vimeo': oembed.OEmbedEndpoint('http://vimeo.com/api/oembed.json', [ 'vimeo': oembed.OEmbedEndpoint('http://vimeo.com/api/oembed.json', [
'http://vimeo.com/*', 'https?://vimeo.com/*',
]), ]),
} }