Exlude links which are not channels

pull/409/head
Bartosz Rumiński 2020-10-12 20:59:56 +02:00
rodzic 5ab1b053d2
commit e3f996e014
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -58,7 +58,7 @@ public class YoutubeChannelLinkHandlerFactory extends ListLinkHandlerFactory {
*/
private boolean isCustomShortChannelUrl(String[] splitPath) {
return splitPath.length == 1 &&
!splitPath[0].matches("playlist|watch|attribution_link");
!splitPath[0].matches("playlist|watch|attribution_link|watch_popup|embed|feed");
}
@Override