Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Apparently imgur has its own endpoint, adding to the bootstrap basic mix

  • Loading branch information...
commit 1d4cdaf16c6dd3187e745dcfd12669c2942e29d0 1 parent f763c97
@coleifer coleifer authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  micawber/providers.py
View
1  micawber/providers.py
@@ -116,6 +116,7 @@ def bootstrap_basic(cache=None):
pr = ProviderRegistry(cache)
pr.register('http://\S*?flickr.com/\S*', Provider('http://www.flickr.com/services/oembed/'))
pr.register('https?://(\S*.)?youtu(\.be/|be\.com/watch)\S*', Provider('http://www.youtube.com/oembed'))
+ pr.register('http://(.*imgur\.com/.*)', Provider('http://api.imgur.com/oembed')),
pr.register('http://\S*.viddler.com/\S*', Provider('http://lab.viddler.com/services/oembed/'))
pr.register('http://qik.com/video/\S*', Provider('http://qik.com/api/oembed.json'))
pr.register('http://\S*.revision3.com/\S*', Provider('http://revision3.com/api/oembed/'))
Please sign in to comment.
Something went wrong with that request. Please try again.