Fixed queryId regex

This commit is contained in:
cyian-1756 2018-05-09 02:35:30 -04:00
parent 925df36e31
commit 52d14559e2

View File

@ -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);