diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-04-01 04:11:09 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-04-01 04:11:09 +0000 |
commit | 3c972ed07df11ca6c7f032728b9db8aa8cc22d28 (patch) | |
tree | f86072a277cd7a43f17aa10d779af2a7b7affa1a | |
parent | 53b6bf14e4570c3200fb076479958d4b796c8f92 (diff) | |
download | infinity-for-reddit-3c972ed07df11ca6c7f032728b9db8aa8cc22d28.tar infinity-for-reddit-3c972ed07df11ca6c7f032728b9db8aa8cc22d28.tar.gz infinity-for-reddit-3c972ed07df11ca6c7f032728b9db8aa8cc22d28.tar.bz2 infinity-for-reddit-3c972ed07df11ca6c7f032728b9db8aa8cc22d28.tar.lz infinity-for-reddit-3c972ed07df11ca6c7f032728b9db8aa8cc22d28.tar.xz infinity-for-reddit-3c972ed07df11ca6c7f032728b9db8aa8cc22d28.tar.zst infinity-for-reddit-3c972ed07df11ca6c7f032728b9db8aa8cc22d28.zip |
Handle more gfycat links.
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java index c590ce61..a4de701f 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java @@ -40,7 +40,7 @@ public class LinkResolverActivity extends AppCompatActivity { private static final String MULTIREDDIT_PATTERN = "/user/[\\w-]+/m/\\w+/?"; private static final String MULTIREDDIT_PATTERN_2 = "/[rR]/(\\w+\\+?)+/?"; private static final String REDD_IT_POST_PATTERN = "/\\w+/?"; - private static final String GFYCAT_PATTERN = "(/ifr)?/[\\w-]+$"; + private static final String GFYCAT_PATTERN = "(/i?fr)?/[\\w-]+$"; private static final String REDGIFS_PATTERN = "/watch/[\\w-]+$"; private static final String IMGUR_GALLERY_PATTERN = "/gallery/\\w+/?"; private static final String IMGUR_ALBUM_PATTERN = "/(album|a)/\\w+/?"; |