From 4a54a085fb2df03819a60e1e982f88930443855b Mon Sep 17 00:00:00 2001 From: Rihannakitten <44688685+Rihannakitten@users.noreply.github.com> Date: Tue, 18 Jun 2019 14:25:35 +0000 Subject: [PATCH] quick dirty fix for instagram ripper --- .../com/rarchives/ripme/ripper/rippers/InstagramRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java index 50fc9e65d..a05df206e 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java @@ -475,7 +475,7 @@ private JSONObject getPage(String url, String ig_gis) { private String getQhashUrl(Document doc) { for(Element el : doc.select("link[rel=preload]")) { - if (el.attr("href").contains("ProfilePageContainer")) { + if (el.attr("href").contains("ProfilePageContainer") && el.attr("href").contains("js")) { return el.attr("href"); } }