1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-28 03:42:51 +08:00

[UDNEmbed]enhance UDN support and modify the name

This commit is contained in:
RPing 2015-11-19 00:30:12 +08:00
parent 6c88c5119e
commit b0ae68de85

View File

@ -130,6 +130,11 @@ class TestAllURLsMatching(unittest.TestCase):
'https://screen.yahoo.com/smartwatches-latest-wearable-gadgets-163745379-cbs.html',
['Yahoo'])
def test_udn(self):
self.assertMatch('https://video.udn.com/news/398685', ['UDN'])
self.assertMatch('https://video.udn.com/embed/news/300040', ['UDN'])
self.assertMatch('https://video.udn.com/play/news/303776', ['UDN'])
if __name__ == '__main__':
unittest.main()