Skip to content

Commit

Permalink
Fix GetyarnAudioSourceManager URL regex (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
infnibor committed Jul 23, 2024
1 parent a97a83a commit 948ea84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Audio source manager which detects getyarn.io tracks by URL.
*/
public class GetyarnAudioSourceManager implements HttpConfigurable, AudioSourceManager {
private static final Pattern GETYARN_REGEX = Pattern.compile("(?:http://|https://(?:www\\.)?)?getyarn\\.io/yarn-clip/(.*)");
private static final Pattern GETYARN_REGEX = Pattern.compile("https?://(?:www\\.|)getyarn\\.io/yarn-clip/(.*)");

private final HttpInterfaceManager httpInterfaceManager;

Expand Down

0 comments on commit 948ea84

Please sign in to comment.