|
|
@ -69,9 +69,9 @@ class TestAllURLsMatching(unittest.TestCase):
|
|
|
|
self.assertMatch('https://www.youtube.com/feed/watch_later', ['youtube:tab'])
|
|
|
|
self.assertMatch('https://www.youtube.com/feed/watch_later', ['youtube:tab'])
|
|
|
|
self.assertMatch('https://www.youtube.com/feed/subscriptions', ['youtube:tab'])
|
|
|
|
self.assertMatch('https://www.youtube.com/feed/subscriptions', ['youtube:tab'])
|
|
|
|
|
|
|
|
|
|
|
|
# def test_youtube_search_matching(self):
|
|
|
|
def test_youtube_search_matching(self):
|
|
|
|
# self.assertMatch('http://www.youtube.com/results?search_query=making+mustard', ['youtube:search_url'])
|
|
|
|
self.assertMatch('http://www.youtube.com/results?search_query=making+mustard', ['youtube:search_url'])
|
|
|
|
# self.assertMatch('https://www.youtube.com/results?baz=bar&search_query=youtube-dl+test+video&filters=video&lclk=video', ['youtube:search_url'])
|
|
|
|
self.assertMatch('https://www.youtube.com/results?baz=bar&search_query=youtube-dl+test+video&filters=video&lclk=video', ['youtube:search_url'])
|
|
|
|
|
|
|
|
|
|
|
|
def test_youtube_extract(self):
|
|
|
|
def test_youtube_extract(self):
|
|
|
|
assertExtractId = lambda url, id: self.assertEqual(YoutubeIE.extract_id(url), id)
|
|
|
|
assertExtractId = lambda url, id: self.assertEqual(YoutubeIE.extract_id(url), id)
|
|
|
|