Created
September 6, 2017 09:49
-
-
Save justdoit0823/e56b90f459503b63d94a49a3f9c26589 to your computer and use it in GitHub Desktop.
Extract task arguments from celery flower html.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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