diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-11-24 00:10:25 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-11-24 00:10:25 +0700 |
commit | 191286265d8ad4fff834249d44e3d334a969b668 (patch) | |
tree | c131ab631c62ed0914b4fca59361416f7288e67f /test | |
parent | 323427281899cf3527e504ac7058f5b10aad5d61 (diff) |
[youtube:tab] Fix feeds extraction (closes #25695, closes #26452)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_all_urls.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_all_urls.py b/test/test_all_urls.py index 56a08bed8..50c3466fa 100644 --- a/test/test_all_urls.py +++ b/test/test_all_urls.py @@ -61,9 +61,10 @@ class TestAllURLsMatching(unittest.TestCase): # self.assertMatch('http://www.youtube.com/NASAgovVideo/videos', ['youtube:tab']) def test_youtube_feeds(self): - self.assertMatch('https://www.youtube.com/feed/watch_later', ['youtube:watchlater']) - self.assertMatch('https://www.youtube.com/feed/subscriptions', ['youtube:subscriptions']) - self.assertMatch('https://www.youtube.com/feed/recommended', ['youtube:recommended']) + self.assertMatch('https://www.youtube.com/feed/library', ['youtube:tab']) + self.assertMatch('https://www.youtube.com/feed/history', ['youtube:tab']) + self.assertMatch('https://www.youtube.com/feed/watch_later', ['youtube:tab']) + self.assertMatch('https://www.youtube.com/feed/subscriptions', ['youtube:tab']) # def test_youtube_search_matching(self): # self.assertMatch('http://www.youtube.com/results?search_query=making+mustard', ['youtube:search_url']) |