Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/utils/ResponseBodyUtils.java
|
@ -965,7 +965,7 @@ public final class ResponseBodyUtils { |
|
|
JSONObject tappableObject = data.getJSONArray("story_cta").getJSONObject(0).getJSONArray("links").getJSONObject(0); |
|
|
JSONObject tappableObject = data.getJSONArray("story_cta").getJSONObject(0).getJSONArray("links").getJSONObject(0); |
|
|
String swipeUpUrl = tappableObject.optString("webUri"); |
|
|
String swipeUpUrl = tappableObject.optString("webUri"); |
|
|
final String backupSwipeUpUrl = swipeUpUrl; |
|
|
final String backupSwipeUpUrl = swipeUpUrl; |
|
|
if (swipeUpUrl != null && swipeUpUrl.startsWith("https://l.instagram.com/") { |
|
|
|
|
|
|
|
|
if (swipeUpUrl != null && swipeUpUrl.startsWith("https://l.instagram.com/")) { |
|
|
swipeUpUrl = Uri.parse(swipeUpUrl).getQueryParameter("u"); |
|
|
swipeUpUrl = Uri.parse(swipeUpUrl).getQueryParameter("u"); |
|
|
} |
|
|
} |
|
|
if (swipeUpUrl != null && swipeUpUrl.startsWith("http")) |
|
|
if (swipeUpUrl != null && swipeUpUrl.startsWith("http")) |
|
|