From 589fbb341240c5243794828b6e8c63abf855acea Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 25 May 2018 15:40:12 -0400 Subject: [PATCH] Fixed instagram ripper --- .../com/rarchives/ripme/ripper/rippers/InstagramRipper.java | 5 +++++ 1 file changed, 5 insertions(+) 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 12227418..06af76be 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java @@ -462,6 +462,11 @@ public class InstagramRipper extends AbstractJSONRipper { if (m.find()) { return m.group(1); } + jsP = Pattern.compile("0:n.pagination},queryId:.([a-zA-Z0-9]+)."); + m = jsP.matcher(sb.toString()); + if (m.find()) { + return m.group(1); + } } else { Pattern jsP = Pattern.compile("return e.tagMedia.byTagName.get\\(t\\).pagination},queryId:.([a-zA-Z0-9]+).");