mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
37 lines
809 B
Java
37 lines
809 B
Java
package org.thoughtcrime.securesms.linkpreview;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.HashSet;
|
|
import java.util.Set;
|
|
|
|
public class LinkPreviewDomains {
|
|
public static final Set<String> LINKS = new HashSet<>(Arrays.asList(
|
|
"youtube.com",
|
|
"www.youtube.com",
|
|
"m.youtube.com",
|
|
"youtu.be",
|
|
"reddit.com",
|
|
"www.reddit.com",
|
|
"m.reddit.com",
|
|
"imgur.com",
|
|
"www.imgur.com",
|
|
"m.imgur.com",
|
|
"instagram.com",
|
|
"www.instagram.com",
|
|
"m.instagram.com",
|
|
"pinterest.com",
|
|
"www.pinterest.com",
|
|
"pin.it"
|
|
));
|
|
|
|
public static final Set<String> IMAGES = new HashSet<>(Arrays.asList(
|
|
"ytimg.com",
|
|
"cdninstagram.com",
|
|
"fbcdn.net",
|
|
"redd.it",
|
|
"imgur.com",
|
|
"pinimg.com",
|
|
"giphy.com"
|
|
));
|
|
}
|