Exlude links which are not channels

This commit is contained in:
Bartosz Rumiński 2020-10-12 20:59:56 +02:00
parent 5ab1b053d2
commit e3f996e014
1 changed files with 1 additions and 1 deletions

View File

@ -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