Mercurial > public > sg101
diff oembed/management/commands/oembed_refresh.py @ 912:602639621257
Tweak HTML for videos that are no longer found.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 21 Mar 2015 09:56:40 -0500 |
parents | d3f6e9cb1f39 |
children | f2fbe2b0d25d |
line wrap: on
line diff
--- a/oembed/management/commands/oembed_refresh.py Tue Mar 17 21:24:45 2015 -0500 +++ b/oembed/management/commands/oembed_refresh.py Sat Mar 21 09:56:40 2015 -0500 @@ -36,7 +36,8 @@ """Returns a string of HTML to be used when we can't retrieve the oEmbed data. """ - return u'<p><a href="{url}">{title}</a></p>'.format(url=oembed.url, title=oembed.title) + return u'<p>Video: <a href="{url}">{title}</a></p>'.format( + url=oembed.url, title=oembed.title) def refresh_html(providers, oembed):