Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with
3 additions and
3 deletions
-
app/src/main/java/awais/instagrabber/MainHelper.java
-
app/src/main/java/awais/instagrabber/utils/Constants.java
|
|
@ -256,7 +256,7 @@ public final class MainHelper implements SwipeRefreshLayout.OnRefreshListener { |
|
|
|
}); |
|
|
|
@NonNull |
|
|
|
private final Main main; |
|
|
|
private final Resources resources; |
|
|
|
private Resources resources; |
|
|
|
private final View collapsingToolbar; |
|
|
|
private final RecyclerLazyLoader lazyLoader; |
|
|
|
private boolean isHashtag, isUser, isLocation; |
|
|
|
|
|
@ -45,9 +45,9 @@ public final class Constants { |
|
|
|
// spoof |
|
|
|
public static final String USER_AGENT = "Mozilla/5.0 (Linux; Android 8.1.0; motorola one Build/OPKS28.63-18-3; wv) " + |
|
|
|
"AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.80 Mobile Safari/537.36 " + |
|
|
|
"Instagram 72.0.0.21.98 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 132081645)"; |
|
|
|
"Instagram 152.0.0.25.117 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 234847224)"; |
|
|
|
public static final String I_USER_AGENT = |
|
|
|
"Instagram 72.0.0.21.98 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 132081645)"; |
|
|
|
"Instagram 152.0.0.25.117 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 234847224)"; |
|
|
|
// see https://github.com/dilame/instagram-private-api/blob/master/src/core/constants.ts |
|
|
|
public static final String SUPPORTED_CAPABILITIES = "[ { \"name\": \"SUPPORTED_SDK_VERSIONS\", \"value\":" + |
|
|
|
" \"13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,21.0,22.0,23.0,24.0,25.0,26.0,27.0,28.0,29.0,30.0,31.0," + |
|
|
|