public ProcessPage(String url, String word){
getDocument(url);
Elements links = doc.getElementsContainingText(word);
print("\nRetrieved Links: ");
for (Element link : links) {
if (link.attr("abs:href") != "") {
print(" * ---- <%s> (%s)", link.attr("abs:href"),
trim(link.text(), 35));
}
}
}
i Want this method to run every (let's say 10) minutes... what should I do?
ps. I will always love whoever takes time to answer my questions..... I love you guys
Aucun commentaire:
Enregistrer un commentaire