view gpp/oembed/fixtures/providers.json @ 523:e9c446a64423

Was catching redis.RedisError exception, but already had local variable called redis. This seemed to work in development, but failed on Python 2.5.
author Brian Neal <bgneal@gmail.com>
date Sun, 18 Dec 2011 23:55:53 +0000
parents 47a7138fcccb
children
line wrap: on
line source
[
    {
        "pk": 1, 
        "model": "oembed.provider", 
        "fields": {
            "api_endpoint": "http://www.youtube.com/oembed", 
            "name": "YouTube", 
            "url_regex": "^http://www\\.youtube\\.com/watch\\?v=\\S+$", 
            "format": 0
        }
    }
]