]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - test/test_all_urls.py
Set 'NA' as the default value for missing fields in the output template (fixes #1931)
[youtube-dl.git] / test / test_all_urls.py
index 1f1adb6b46e0fa2e8a683e6593f699476397a0cd..e9458b2e331526de1c986c697c4a8d0ddd682f14 100644 (file)
@@ -106,6 +106,13 @@ 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'])
+
+    # https://github.com/rg3/youtube-dl/issues/1930
+    def test_soundcloud_not_matching_sets(self):
+        self.assertMatch('http://soundcloud.com/floex/sets/gone-ep', ['soundcloud:set'])
 
 if __name__ == '__main__':
     unittest.main()