diff --git a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/parser/CommentParserHelper.java b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/parser/CommentParserHelper.java index b818d86b5b..5d241cd3b1 100644 --- a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/parser/CommentParserHelper.java +++ b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/parser/CommentParserHelper.java @@ -55,7 +55,7 @@ public class CommentParserHelper { .linkTypes(EnumSet.of(LinkType.URL)) .build(); - private static Pattern youtubeLinkPattern = Pattern.compile("\\b(?:https?://)?(?:www\\.)?youtu\\.?be(?:\\.com)?.*?(?:watch|embed)?(?:.*?v=|v/|/)([\\w\\-]+)&?(?:\\?t=\\d+)?\\b"); + private static Pattern youtubeLinkPattern = Pattern.compile("\\b(?:https?://)?(?:www\\.)?youtu\\.?be(?:\\.com)?.*?(?:watch|embed)?(?:.*?v=|v/|/)([\\w\\-]+)&?(?:\\?t=\\d+)?(?:#[\\w|=]*)?\\b"); private static final String API_KEY = "AIzaSyB5_zaen_-46Uhz1xGR-lz1YoUMHqCD6CE"; private static Bitmap youtubeIcon = BitmapFactory.decodeResource(AndroidUtils.getRes(), R.drawable.youtube_icon);