From 64ade8a9e0aa0896c46a1358427ca5eed695794b Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Thu, 7 Jun 2018 04:57:03 -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 94331650..e34ddf60 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java @@ -467,6 +467,11 @@ public class InstagramRipper extends AbstractJSONRipper { if (m.find()) { return m.group(1); } + jsP = Pattern.compile("o.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]+).");