fix youtube url tests

This commit is contained in:
Laura Liberda 2021-01-10 03:52:35 +01:00
parent fe0f39da07
commit b2f578c3c6

View file

@ -55,7 +55,9 @@ class TestAllURLsMatching(unittest.TestCase):
assertChannel('https://www.youtube.com/channel/HCtnHdj3df7iM')
assertChannel('https://www.youtube.com/channel/HCtnHdj3df7iM?feature=gb_ch_rec')
assertChannel('https://www.youtube.com/channel/HCtnHdj3df7iM/videos')
assertChannel('http://www.youtube.com/NASAgovVideo/videos')
# problematic url, but it's matched anyway as it gets redirected to https://www.youtube.com/user/NASAgovVideo/videos
# assertChannel('http://www.youtube.com/NASAgovVideo/videos')
assertChannel('https://www.youtube.com/user/NASAgovVideo/videos')
# def test_youtube_feeds(self):
# self.assertMatch('https://www.youtube.com/feed/watch_later', ['youtube:watchlater'])