File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
common/src/main/java/dev/lavalink/youtube Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44}
55
66group = " dev.lavalink.youtube"
7- version = " 1.0.0 "
7+ version = " 1.0.1 "
88
99allprojects {
1010 group = rootProject.group
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public class YoutubeAudioSourceManager implements AudioSourceManager {
5757
5858 private static final Pattern directVideoIdPattern = Pattern .compile ("^" + VIDEO_ID_REGEX + "$" );
5959 private static final Pattern mainDomainPattern = Pattern .compile ("^" + PROTOCOL_REGEX + DOMAIN_REGEX + "/.*" );
60- private static final Pattern shortHandPattern = Pattern .compile ("^" + PROTOCOL_REGEX + "(?:" + DOMAIN_REGEX + "/(?:live|embed|shorts)|" + SHORT_DOMAIN_REGEX + ")/(?<id >.*)" );
60+ private static final Pattern shortHandPattern = Pattern .compile ("^" + PROTOCOL_REGEX + "(?:" + DOMAIN_REGEX + "/(?:live|embed|shorts)|" + SHORT_DOMAIN_REGEX + ")/(?<videoId >.*)" );
6161
6262 protected final HttpInterfaceManager httpInterfaceManager ;
6363 protected final boolean allowSearch ;
You can’t perform that action at this time.
0 commit comments