mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-29 00:10:35 +05:30
Exlude links which are not channels
This commit is contained in:
parent
5ab1b053d2
commit
e3f996e014
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user