Browse Source

close #1196

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
committed by GitHub
parent
commit
18292ead4e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 92
      app/src/main/java/awais/instagrabber/utils/UserAgentUtils.java

92
app/src/main/java/awais/instagrabber/utils/UserAgentUtils.java

@ -23,54 +23,54 @@ public class UserAgentUtils {
// you can pick *any* device as long as you LEAVE OUT the resolution for maximum download quality // you can pick *any* device as long as you LEAVE OUT the resolution for maximum download quality
public static final String[] devices = { public static final String[] devices = {
// https://github.com/dilame/instagram-private-api/blob/master/src/samples/devices.json // https://github.com/dilame/instagram-private-api/blob/master/src/samples/devices.json
"25/7.1.1; 440dpi; Xiaomi; Mi Note 3; jason; qcom",
"23/6.0.1; 480dpi; Xiaomi; Redmi Note 3; kenzo; qcom",
"23/6.0; 480dpi; Xiaomi; Redmi Note 4; nikel; mt6797",
"24/7.0; 480dpi; Xiaomi/xiaomi; Redmi Note 4; mido; qcom",
"23/6.0; 480dpi; Xiaomi; Redmi Note 4X; nikel; mt6797",
"27/8.1.0; 440dpi; Xiaomi/xiaomi; Redmi Note 5; whyred; qcom",
"23/6.0.1; 480dpi; Xiaomi; Redmi 4; markw; qcom",
"27/8.1.0; 440dpi; Xiaomi/xiaomi; Redmi 5 Plus; vince; qcom",
"25/7.1.2; 440dpi; Xiaomi/xiaomi; Redmi 5 Plus; vince; qcom",
"26/8.0.0; 480dpi; Xiaomi; MI 5; gemini; qcom",
"27/8.1.0; 480dpi; Xiaomi/xiaomi; Mi A1; tissot_sprout; qcom",
"26/8.0.0; 480dpi; Xiaomi; MI 6; sagit; qcom",
"25/7.1.1; 440dpi; Xiaomi; MI MAX 2; oxygen; qcom",
"24/7.0; 480dpi; Xiaomi; MI 5s; capricorn; qcom",
"26/8.0.0; 480dpi; samsung; SM-A520F; a5y17lte; samsungexynos7880",
"26/8.0.0; 480dpi; samsung; SM-G950F; dreamlte; samsungexynos8895",
"26/8.0.0; 640dpi; samsung; SM-G950F; dreamlte; samsungexynos8895",
"26/8.0.0; 420dpi; samsung; SM-G955F; dream2lte; samsungexynos8895",
"26/8.0.0; 560dpi; samsung; SM-G955F; dream2lte; samsungexynos8895",
"24/7.0; 480dpi; samsung; SM-A510F; a5xelte; samsungexynos7580",
"26/8.0.0; 480dpi; samsung; SM-G930F; herolte; samsungexynos8890",
"26/8.0.0; 480dpi; samsung; SM-G935F; hero2lte; samsungexynos8890",
"26/8.0.0; 420dpi; samsung; SM-G965F; star2lte; samsungexynos9810",
"26/8.0.0; 480dpi; samsung; SM-A530F; jackpotlte; samsungexynos7885",
"24/7.0; 640dpi; samsung; SM-G925F; zerolte; samsungexynos7420",
"26/8.0.0; 420dpi; samsung; SM-A720F; a7y17lte; samsungexynos7880",
"24/7.0; 640dpi; samsung; SM-G920F; zeroflte; samsungexynos7420",
"24/7.0; 420dpi; samsung; SM-J730FM; j7y17lte; samsungexynos7870",
"26/8.0.0; 480dpi; samsung; SM-G960F; starlte; samsungexynos9810",
"26/8.0.0; 420dpi; samsung; SM-N950F; greatlte; samsungexynos8895",
"26/8.0.0; 420dpi; samsung; SM-A730F; jackpot2lte; samsungexynos7885",
"26/8.0.0; 420dpi; samsung; SM-A605FN; a6plte; qcom",
"26/8.0.0; 480dpi; HUAWEI/HONOR; STF-L09; HWSTF; hi3660",
"27/8.1.0; 480dpi; HUAWEI/HONOR; COL-L29; HWCOL; kirin970",
"26/8.0.0; 480dpi; HUAWEI/HONOR; LLD-L31; HWLLD-H; hi6250",
"26/8.0.0; 480dpi; HUAWEI; ANE-LX1; HWANE; hi6250",
"26/8.0.0; 480dpi; HUAWEI; FIG-LX1; HWFIG-H; hi6250",
"27/8.1.0; 480dpi; HUAWEI/HONOR; COL-L29; HWCOL; kirin970",
"26/8.0.0; 480dpi; HUAWEI/HONOR; BND-L21; HWBND-H; hi6250",
"23/6.0.1; 420dpi; LeMobile/LeEco; Le X527; le_s2_ww; qcom",
"25/7.1.1; 440dpi; 2880x5884; Xiaomi; Mi Note 3; jason; qcom",
"23/6.0.1; 480dpi; 2880x5884; Xiaomi; Redmi Note 3; kenzo; qcom",
"23/6.0; 480dpi; 2880x5884; Xiaomi; Redmi Note 4; nikel; mt6797",
"24/7.0; 480dpi; 2880x5884; Xiaomi/xiaomi; Redmi Note 4; mido; qcom",
"23/6.0; 480dpi; 2880x5884; Xiaomi; Redmi Note 4X; nikel; mt6797",
"27/8.1.0; 440dpi; 2880x5884; Xiaomi/xiaomi; Redmi Note 5; whyred; qcom",
"23/6.0.1; 480dpi; 2880x5884; Xiaomi; Redmi 4; markw; qcom",
"27/8.1.0; 440dpi; 2880x5884; Xiaomi/xiaomi; Redmi 5 Plus; vince; qcom",
"25/7.1.2; 440dpi; 2880x5884; Xiaomi/xiaomi; Redmi 5 Plus; vince; qcom",
"26/8.0.0; 480dpi; 2880x5884; Xiaomi; MI 5; gemini; qcom",
"27/8.1.0; 480dpi; 2880x5884; Xiaomi/xiaomi; Mi A1; tissot_sprout; qcom",
"26/8.0.0; 480dpi; 2880x5884; Xiaomi; MI 6; sagit; qcom",
"25/7.1.1; 440dpi; 2880x5884; Xiaomi; MI MAX 2; oxygen; qcom",
"24/7.0; 480dpi; 2880x5884; Xiaomi; MI 5s; capricorn; qcom",
"26/8.0.0; 480dpi; 2880x5884; samsung; SM-A520F; a5y17lte; samsungexynos7880",
"26/8.0.0; 480dpi; 2880x5884; samsung; SM-G950F; dreamlte; samsungexynos8895",
"26/8.0.0; 640dpi; 2880x5884; samsung; SM-G950F; dreamlte; samsungexynos8895",
"26/8.0.0; 420dpi; 2880x5884; samsung; SM-G955F; dream2lte; samsungexynos8895",
"26/8.0.0; 560dpi; 2880x5884; samsung; SM-G955F; dream2lte; samsungexynos8895",
"24/7.0; 480dpi; 2880x5884; samsung; SM-A510F; a5xelte; samsungexynos7580",
"26/8.0.0; 480dpi; 2880x5884; samsung; SM-G930F; herolte; samsungexynos8890",
"26/8.0.0; 480dpi; 2880x5884; samsung; SM-G935F; hero2lte; samsungexynos8890",
"26/8.0.0; 420dpi; 2880x5884; samsung; SM-G965F; star2lte; samsungexynos9810",
"26/8.0.0; 480dpi; 2880x5884; samsung; SM-A530F; jackpotlte; samsungexynos7885",
"24/7.0; 640dpi; 2880x5884; samsung; SM-G925F; zerolte; samsungexynos7420",
"26/8.0.0; 420dpi; 2880x5884; samsung; SM-A720F; a7y17lte; samsungexynos7880",
"24/7.0; 640dpi; 2880x5884; samsung; SM-G920F; zeroflte; samsungexynos7420",
"24/7.0; 420dpi; 2880x5884; samsung; SM-J730FM; j7y17lte; samsungexynos7870",
"26/8.0.0; 480dpi; 2880x5884; samsung; SM-G960F; starlte; samsungexynos9810",
"26/8.0.0; 420dpi; 2880x5884; samsung; SM-N950F; greatlte; samsungexynos8895",
"26/8.0.0; 420dpi; 2880x5884; samsung; SM-A730F; jackpot2lte; samsungexynos7885",
"26/8.0.0; 420dpi; 2880x5884; samsung; SM-A605FN; a6plte; qcom",
"26/8.0.0; 480dpi; 2880x5884; HUAWEI/HONOR; STF-L09; HWSTF; hi3660",
"27/8.1.0; 480dpi; 2880x5884; HUAWEI/HONOR; COL-L29; HWCOL; kirin970",
"26/8.0.0; 480dpi; 2880x5884; HUAWEI/HONOR; LLD-L31; HWLLD-H; hi6250",
"26/8.0.0; 480dpi; 2880x5884; HUAWEI; ANE-LX1; HWANE; hi6250",
"26/8.0.0; 480dpi; 2880x5884; HUAWEI; FIG-LX1; HWFIG-H; hi6250",
"27/8.1.0; 480dpi; 2880x5884; HUAWEI/HONOR; COL-L29; HWCOL; kirin970",
"26/8.0.0; 480dpi; 2880x5884; HUAWEI/HONOR; BND-L21; HWBND-H; hi6250",
"23/6.0.1; 420dpi; 2880x5884; LeMobile/LeEco; Le X527; le_s2_ww; qcom",
// https://github.com/mimmi20/BrowserDetector/tree/master // https://github.com/mimmi20/BrowserDetector/tree/master
"28/9; 560dpi; samsung; SM-N960F; crownlte; samsungexynos9810",
"28/9; 560dpi; 2880x5884; samsung; SM-N960F; crownlte; samsungexynos9810",
// mgp25 // mgp25
"23/6.0.1; 640dpi; LGE/lge; RS988; h1; h1",
"24/7.0; 640dpi; HUAWEI; LON-L29; HWLON; hi3660",
"23/6.0.1; 640dpi; ZTE; ZTE A2017U; ailsa_ii; qcom",
"23/6.0.1; 640dpi; samsung; SM-G935F; hero2lte; samsungexynos8890",
"23/6.0.1; 640dpi; samsung; SM-G930F; herolte; samsungexynos8890"
"23/6.0.1; 640dpi; 2880x5884; LGE/lge; RS988; h1; h1",
"24/7.0; 640dpi; 2880x5884; HUAWEI; LON-L29; HWLON; hi3660",
"23/6.0.1; 640dpi; 2880x5884; ZTE; ZTE A2017U; ailsa_ii; qcom",
"23/6.0.1; 640dpi; 2880x5884; samsung; SM-G935F; hero2lte; samsungexynos8890",
"23/6.0.1; 640dpi; 2880x5884; samsung; SM-G930F; herolte; samsungexynos8890"
}; };
@NonNull @NonNull

Loading…
Cancel
Save