Fixed instagram ripper

This commit is contained in:
cyian-1756 2018-05-25 15:40:12 -04:00
parent d11dfe814b
commit 589fbb3412

View File

@ -462,6 +462,11 @@ public class InstagramRipper extends AbstractJSONRipper {
if (m.find()) { if (m.find()) {
return m.group(1); 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 { } else {
Pattern jsP = Pattern.compile("return e.tagMedia.byTagName.get\\(t\\).pagination},queryId:.([a-zA-Z0-9]+)."); Pattern jsP = Pattern.compile("return e.tagMedia.byTagName.get\\(t\\).pagination},queryId:.([a-zA-Z0-9]+).");