I am running the following, and I notice that after 500, it stops, I would like it to run again starting from the next index in order to carry on searching:
var a = 0;
jQuery.getJSON("https://en.wikipedia.org/w/api.php?action=query&list=embeddedin&&eilimit=1000000&eititle=Template:Infobox&callback=?", {
disablelimitreport: true,
format: "json"
}, function(data) {
jQuery.each(data.query.embeddedin, function(i, item) {
myTitle = item.title;
wikiText();
console.log(a);
a++
});
});
Is there anyway that I can tell it to start again from the next index after it finishes the first 500?
I see it is stated on their documentation so I wonder how I could be making the next set of 500 calls if ever without having to get the dump