Skip to content

Commit

Permalink
youtube: support /w/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
B0pol committed Feb 13, 2021
1 parent 670fe9b commit b42ddff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {

private static final Pattern YOUTUBE_VIDEO_ID_REGEX_PATTERN = Pattern.compile("^([a-zA-Z0-9_-]{11})");
private static final YoutubeStreamLinkHandlerFactory instance = new YoutubeStreamLinkHandlerFactory();
private static final List<String> folders = Arrays.asList("embed/", "shorts/", "watch/", "v/");
private static final List<String> folders = Arrays.asList("embed/", "shorts/", "watch/", "v/", "w/");

private YoutubeStreamLinkHandlerFactory() {
}
Expand Down

0 comments on commit b42ddff

Please sign in to comment.