Skip to content

Instantly share code, notes, and snippets.

@mojzis
Last active January 11, 2020 13:14
Show Gist options
  • Save mojzis/c3d50c346b0e653cfe2340edb6d24c53 to your computer and use it in GitHub Desktop.
Save mojzis/c3d50c346b0e653cfe2340edb6d24c53 to your computer and use it in GitHub Desktop.
tasks = [];
$$(".body-content .row").forEach(function(row) {
rowData = [];
im = $$("img",row);
sub = '';
if(im[0]){
sub = im[0].src
rowData.push(sub)
$$("div",row).forEach(function(div) {
rowData.push(div.innerText)
});
tasks.push(rowData);
}
});
o = ""; tasks.forEach(function(tsk){o += tsk[0].slice(44,46) + "\t" +tsk[1] + "\t" + tsk[4] + "\n"});
o;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment