Exlude links which are not channels
This commit is contained in:
parent
5ab1b053d2
commit
e3f996e014
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class YoutubeChannelLinkHandlerFactory extends ListLinkHandlerFactory {
|
||||||
*/
|
*/
|
||||||
private boolean isCustomShortChannelUrl(String[] splitPath) {
|
private boolean isCustomShortChannelUrl(String[] splitPath) {
|
||||||
return splitPath.length == 1 &&
|
return splitPath.length == 1 &&
|
||||||
!splitPath[0].matches("playlist|watch|attribution_link");
|
!splitPath[0].matches("playlist|watch|attribution_link|watch_popup|embed|feed");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue