From 52d14559e286939387b2ae26dedd4769ca5a0df8 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Wed, 9 May 2018 02:35:30 -0400 Subject: [PATCH] Fixed queryId regex --- .../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 717aaa30..9c233b0d 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java @@ -430,7 +430,7 @@ public class InstagramRipper extends AbstractHTMLRipper { return null; } if (!rippingTag) { - Pattern jsP = Pattern.compile("\\?n.pagination:n},queryId:.([a-zA-Z0-9]+)."); + Pattern jsP = Pattern.compile("o},queryId:.([a-zA-Z0-9]+)."); Matcher m = jsP.matcher(sb.toString()); if (m.find()) { return m.group(1);