Skip to content

Instantly share code, notes, and snippets.

@justdoit0823
Created September 6, 2017 09:49
Show Gist options
  • Save justdoit0823/e56b90f459503b63d94a49a3f9c26589 to your computer and use it in GitHub Desktop.
Save justdoit0823/e56b90f459503b63d94a49a3f9c26589 to your computer and use it in GitHub Desktop.
Extract task arguments from celery flower html.
function extract_task_arguments(n){
task_table = document.getElementById('tasks-table');
for(var i = 1; i < n + 1; i++) console.log(task_table.childNodes[3].childNodes[i].childNodes[3].childNodes[0].data + "\t" + task_table.childNodes[3].childNodes[i].childNodes[4].childNodes[0].data)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment