Merge pull request #570 from cyian-1756/igfix
Fixed instagram ripper regex
This commit is contained in:
commit
e3ebd51f8e
@ -435,6 +435,12 @@ public class InstagramRipper extends AbstractHTMLRipper {
|
||||
if (m.find()) {
|
||||
return m.group(1);
|
||||
}
|
||||
jsP = Pattern.compile("n.pagination:n},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]+).");
|
||||
Matcher m = jsP.matcher(sb.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user