mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
Merge branch 'master' of github.com:rennat/python-markdown-oembed
This commit is contained in:
commit
8da615da30
1 changed files with 4 additions and 4 deletions
|
|
@ -4,13 +4,13 @@ import oembed
|
|||
|
||||
ENDPOINTS = {
|
||||
'youtube': oembed.OEmbedEndpoint('http://www.youtube.com/oembed', [
|
||||
'http://(*.)?youtube.com/*',
|
||||
'http://youtu.be/*',
|
||||
'https?://(*.)?youtube.com/*',
|
||||
'https?://youtu.be/*',
|
||||
]),
|
||||
'flickr': oembed.OEmbedEndpoint('http://www.flickr.com/services/oembed/', [
|
||||
'http://*.flickr.com/*',
|
||||
'https?://*.flickr.com/*',
|
||||
]),
|
||||
'vimeo': oembed.OEmbedEndpoint('http://vimeo.com/api/oembed.json', [
|
||||
'http://vimeo.com/*',
|
||||
'https?://vimeo.com/*',
|
||||
]),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue