yetty/django-embed-video — pull request #6 by techdragon (2013-08-22 12:36:14+00:00)
Title: Improvements to URL's and Tests

The vimeo and youtube urls are now able to handle a few more formats as defined in the tests.

The regex is able to handle a few more formats than the ones covered in the tests, I'm unwilling to add arbitrary test cases till i can find some proper documentation to back up the format. I'm currently looking for a better regex that requires less use of specific match patterns to catch all the various formats. But this one blocks the fake urls you pointed out, and catches all the formats i can think of or have found suggested. I also added more test cases to match the improvements, and fixed a faulty test that didnt use a proper input format to test with.