[vimeo] Add an extractor for users (closes #1871)
This commit is contained in:
parent
355e4fd07e
commit
55a10eab48
4 changed files with 49 additions and 11 deletions
|
@ -106,6 +106,10 @@ class TestAllURLsMatching(unittest.TestCase):
|
|||
self.assertMatch(':colbertreport', ['ComedyCentralShows'])
|
||||
self.assertMatch(':cr', ['ComedyCentralShows'])
|
||||
|
||||
def test_vimeo_matching(self):
|
||||
self.assertMatch('http://vimeo.com/channels/tributes', ['vimeo:channel'])
|
||||
self.assertMatch('http://vimeo.com/user7108434', ['vimeo:user'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue