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 authored and topi314 committed Sep 1, 2024
1 parent a9c03f4 commit bca2d97
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 bca2d97

Please sign in to comment.