coleifer/micawber — pull request #7 by mvdwaeter (2012-08-08 13:46:10+00:00)
Title: Added support for youtube urls that start with "youtu.be"

Urls that started with youtu.be got an ProviderException.
I loosened up the regex for the youtube Provider so that these urls are also recognized as youtube urls.

In the meanwhile users can work around it with this:

import micawber
from micawber.providers import Provider

url = 'http://youtu.be/VpmOTGungnA'
pr = micawber.bootstrap_basic()
pr.register('https?://(\S*.)?youtu(\.be/|be\.com/watch)\S*', Provider('http://www.youtube.com/oembed'))
metadata = pr.request(url)