Support short custom youtube channel urls

This commit is contained in:
Bartosz Rumiński
2020-10-09 00:37:34 +02:00
parent acb04eb351
commit 4e04991762
2 changed files with 24 additions and 5 deletions

View File

@@ -30,6 +30,8 @@ public class YoutubeChannelLinkHandlerFactoryTest {
assertTrue(linkHandler.acceptUrl("https://www.youtube.com/c/creatoracademy"));
assertTrue(linkHandler.acceptUrl("https://youtube.com/DIMENSI0N"));
assertTrue(linkHandler.acceptUrl("https://www.youtube.com/channel/UClq42foiSgl7sSpLupnugGA"));
assertTrue(linkHandler.acceptUrl("https://www.youtube.com/channel/UClq42foiSgl7sSpLupnugGA/videos?disable_polymer=1"));