Browse Source

oops

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
f1e6c80421
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/utils/ResponseBodyUtils.java

2
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"))

Loading…
Cancel
Save